public class DynamicEntityType extends EntityType
A special entity type that is automatically assigned to an entity that doesn’t have its own type. This entity type will
support any Property
, which is different behaviour than entities of other EntityType
objects, which
will throw an IllegalArgumentException
if you try to set or get a value for a Property
that is not part
of its EntityType
.
Constructor and Description |
---|
DynamicEntityType() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDynamic()
Flag indicating whether this is a dynamic entity type.
|
addAllProperties, addProperty, Boolean, compose, contains, createEntity, createEntityForClass, date, deregister, description, Double, entity, entity, entityList, factory, findProperty, getBoolean, getBoolean, getBoolean, getBoolean, getContentType, getDate, getDate, getDate, getDouble, getDouble, getDouble, getDouble, getEntityClass, getEntityType, getFactory, getFactory, getFloat, getFloat, getFloat, getFloat, getInt, getInt, getInt, getInt, getListEntityType, getListFactory, getListFactory, getLong, getLong, getLong, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getRowEntityType, getRowFactory, getRowFactory, getText, getText, getText, getText, Integer, isRegisteredEntityType, iterator, label, list, newInstance, object, register, register, register, registerList, registerList, removeProperty, setBoolean, setBoolean, setBoolean, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setListType, setLong, setLong, setLong, setPropertyValue, setPropertyValue, setPropertyValue, setRowType, setText, setText, setText, string, tags, widget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean isDynamic()
EntityType
Flag indicating whether this is a dynamic entity type. Dynamic entity types are types that have no specified schema (you can add any properties, to entities of this type, without being constrained by the properties defined in the EntityType.
Entities that don’t have a type specified with Entity.setEntityType(com.codename1.rad.models.EntityType)
will, by default have a dynamic entity type.
isDynamic
in class EntityType
Copyright © 2022. All Rights Reserved.