public class JsonEntityProperty extends EntityPropertyCore
Constructor and Description |
---|
JsonEntityProperty(String name,
Class type,
Entity owner) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Gets the value currently persisted on the source object.
|
void |
setValueCandidate(Object value)
Sets a value that, in case of successful validation, will be persisted on the source object's
property when
EntityProperty.commit() is called. |
addCommitListener, addOnChangedListener, addValidationCompletedListener, commit, getColumnPosition, getColumnSpan, getConverter, getCoreEditorLayoutId, getCustomMetadata, getEditorLayoutId, getEditorParams, getEditorType, getEnumConstants, getGroupName, getHeader, getHeaderLayoutId, getHintText, getImageResource, getOwner, getPosition, getReadOnly, getRequired, getSkip, getValidationLayoutId, getValidator, getValueCandidate, getViewerType, isTypePrimitive, isValid, name, onPropertyChanged, onValidationResult, onValidationStarted, readMetadata, removeCommitListener, removeOnChangedListener, removeValidationCompletedListener, setColumnPosition, setColumnSpan, setConverter, setCoreEditorLayoutId, setCustomMetadata, setEditorLayoutId, setEditorParams, setEditorType, setGroupName, setHeader, setHeaderLayoutId, setHintText, setImageResource, setPosition, setReadOnly, setRequired, setSkip, setValidationLayoutId, setValidator, setViewerType, tryCommit, type, updateValues, validate
public void setValueCandidate(Object value)
EntityProperty.commit()
is called.setValueCandidate
in interface EntityProperty
setValueCandidate
in class EntityPropertyCore
value
- the value candidate to set.public Object getValue()
getValue
in interface EntityProperty
getValue
in class EntityPropertyCore