All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
add(Property prop,
Entity value)
Adds an item to the given property.
|
void |
addPropertyChangeListener(ActionListener<PropertyChangeEvent> l)
Adds a listener to listen to all property changes on all properties.
|
void |
addPropertyChangeListener(Property property,
ActionListener<PropertyChangeEvent> l)
Adds a listener to be notified of changes to the given property.
|
void |
addVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l)
Adds a listener to listen to all property changes on all properties.
|
void |
addVetoablePropertyChangeListener(Property property,
ActionListener<VetoablePropertyChangeEvent> l)
Adds a listener to be notified of changes to the given property.
|
protected void |
clearChanged() |
Image |
createImageToFile(Property prop,
EncodedImage placeholder)
Creates an image for a given property to file system.
|
Image |
createImageToFile(Property prop,
EncodedImage placeholder,
String file)
|
Image |
createImageToFile(Property prop,
EncodedImage placeholder,
String file,
URLImage.ImageAdapter adapter)
|
Image |
createImageToFile(Property prop,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image for a given property to file system.
|
Image |
createImageToFile(Tag tag,
EncodedImage placeholder)
Creates an image for a given property to file system.
|
Image |
createImageToFile(Tag tag,
EncodedImage placeholder,
String file)
|
Image |
createImageToFile(Tag tag,
EncodedImage placeholder,
String file,
URLImage.ImageAdapter adapter)
|
Image |
createImageToFile(Tag tag,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image for a given property to file system.
|
Image |
createImageToStorage(Property prop,
EncodedImage placeholder)
Creates an image to storage on the given property.
|
Image |
createImageToStorage(Property prop,
EncodedImage placeholder,
String storageFile)
|
Image |
createImageToStorage(Property prop,
EncodedImage placeholder,
String storageFile,
URLImage.ImageAdapter adapter)
|
Image |
createImageToStorage(Property prop,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image to storage on the given property.
|
Image |
createImageToStorage(Tag tag,
EncodedImage placeholder)
Creates an image to storage on the given property.
|
Image |
createImageToStorage(Tag tag,
EncodedImage placeholder,
String storageFile)
Creates an image for a given property to storage.
|
Image |
createImageToStorage(Tag tag,
EncodedImage placeholder,
String storageFile,
URLImage.ImageAdapter adapter)
|
Image |
createImageToStorage(Tag tag,
EncodedImage placeholder,
URLImage.ImageAdapter adapter)
Creates an image for a given property to storage.
|
static EntityTypeBuilder |
entityTypeBuilder(Class<? extends Entity> cls) |
Property |
findProperty(Tag... tags)
Finds the property corresponding to the given tags.
|
protected void |
firePropertyChangeEvent(PropertyChangeEvent pce)
Fires a property change event to registered listeners.
|
protected void |
fireVetoablePropertyChangeEvent(VetoablePropertyChangeEvent pce)
Fires a property change event to registered listeners.
|
Object |
get(Object key)
Gets a property value.
|
<T> T |
get(Property<T> prop)
Gets the value of the specified property.
|
<V> V |
get(Property prop,
ContentType<V> contentType)
Gets property value as given content type.
|
Aggregate |
getAggregate()
Gets the aggregate that this entity is a part of, or creates a new Aggregate with this entity as a its root.
|
Boolean |
getBoolean(Property prop)
Gets property value as Boolean.
|
Boolean |
getBoolean(Tag... tags)
Gets property value as Boolean.
|
Date |
getDate(Property prop)
Gets property as date
|
Date |
getDate(Tag... tags)
Gets property as date.
|
Double |
getDouble(Property prop)
Gets a property value as a Double.
|
Double |
getDouble(Tag... tags)
Gets property value as a Double.
|
Entity |
getEntity(Property prop)
Gets the a property value as an Entity.
|
Entity |
getEntity(Tag... tag)
Gets the a property as an Entity.
|
EntityList |
getEntityList(Property prop)
Gets property as an EntityList
|
EntityList |
getEntityList(Tag... tag)
Gets a property as an EntityList.
|
EntityList |
getEntityListNonNull(Property prop)
Gets property as an EntityList.
|
Entity |
getEntityNonNull(Property prop)
Gets a property value as an Entity.
|
EntityType |
getEntityType()
Gets the entity type of this entity.
|
Integer |
getInt(Property prop)
Gets property value as Integer
|
Integer |
getInt(Tag... tags)
Gets property value as an Integer.
|
Long |
getLong(Property prop)
Gets property value as Long
|
Long |
getLong(Tag... tags)
Gets property value as a Long.
|
String |
getText(Property prop)
Gets a property as text.
|
String |
getText(Tag... tags)
Gets a property value as text.
|
boolean |
hasPropertyChangeListeners(Property prop) |
boolean |
hasVetoablePropertyChangeListeners(Property prop) |
boolean |
isEmpty(Property prop)
Checks if property is empty.
|
boolean |
isEmpty(Tag tag)
Checks if property is empty.
|
boolean |
isEntity(Property prop)
Checks if property is an Entity.
|
boolean |
isEntity(Tag tag)
Checks if property is an entity.
|
boolean |
isFalsey(Property prop)
Checks if property value is falsey.
|
boolean |
isFalsey(Tag tag)
Checks if property value is falsey.
|
void |
removePropertyChangeListener(ActionListener<PropertyChangeEvent> l)
Removes property change listener.
|
void |
removePropertyChangeListener(Property property,
ActionListener<PropertyChangeEvent> l)
Removes a property change listener.
|
void |
removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l)
Removes property change listener.
|
void |
removeVetoablePropertyChangeListener(Property property,
ActionListener<VetoablePropertyChangeEvent> l)
Removes a property change listener.
|
boolean |
set(ContentType inputType,
Object val,
Tag... tags)
Sets the property value as the given content type.
|
void |
set(Object key,
Object value)
Sets a property value.
|
void |
set(Property prop,
ContentType inputType,
Object val)
Sets property as given content type.
|
boolean |
set(Tag tag,
ContentType inputType,
Object val)
Sets the property value as the given content type.
|
boolean |
setBoolean(boolean val,
Tag... tags)
Sets property as boolean.
|
void |
setBoolean(Property prop,
boolean val)
Sets property as boolean
|
boolean |
setBoolean(Tag tag,
boolean val)
Sets property as boolean.
|
void |
setChanged(Property prop,
boolean firePropertyChange)
Marks a property value as "changed".
|
boolean |
setDate(Date date,
Tag... tags)
Sets property as Date.
|
void |
setDate(Property prop,
Date date)
Sets property as Date
|
boolean |
setDate(Tag tag,
Date date)
Sets property as Date.
|
boolean |
setDouble(double val,
Tag... tags)
Sets property as double.
|
void |
setDouble(Property prop,
double val)
Sets property as Double
|
boolean |
setDouble(Tag tag,
double val)
Sets property as double.
|
boolean |
setEntity(Entity e,
Tag... tags)
Sets property as Entity.
|
void |
setEntity(Property prop,
Entity e)
Sets property as Entity
|
boolean |
setEntity(Tag tag,
Entity e)
Sets property as Entity.
|
void |
setEntityType(EntityType entityType)
Sets the entity type for this entity.
|
boolean |
setFloat(float val,
Tag... tags)
Sets property as float.
|
void |
setFloat(Property prop,
float val)
Sets property as Float
|
boolean |
setFloat(Tag tag,
float val)
Sets property as float.
|
boolean |
setInt(int val,
Tag... tags)
Sets property as int.
|
void |
setInt(Property prop,
int val)
Sets property as int
|
boolean |
setInt(Tag tag,
int val)
Sets property as int.
|
boolean |
setLong(long val,
Tag... tags)
Sets property as long.
|
void |
setLong(Property prop,
long val)
Sets property as Long
|
boolean |
setLong(Tag tag,
long val)
Sets property as long.
|
void |
setText(Property prop,
String text) |
boolean |
setText(String text,
Tag... tags)
Sets property as text
|
boolean |
setText(Tag tag,
String text)
Sets the given property as text.
|
Map |
toMap(Object... keys)
Converts the entity to a Map.
|