de.infoasset.platform.services.asset
Class Property
java.lang.Object
de.infoasset.platform.services.asset.ModelProperty
de.infoasset.platform.services.asset.Property
- All Implemented Interfaces:
- Attribute
- Direct Known Subclasses:
- BooleanProperty, ByteStreamProperty, CharStreamProperty, DateProperty, DomainValueProperty, IdProperty, IntProperty, MultiDomainValueProperty, StringProperty, TimestampProperty
public abstract class Property
- extends ModelProperty
- implements Attribute
| Fields inherited from interface de.infoasset.platform.store.Attribute |
ASSET_ID_LENGTH, ASSET_UID_LENGTH, DOMAINVALUE_LENGTH, INDEXED, LENGTH, MULTI_DOMAINVALUE_LENGTH, MULTILINGUAL, MULTILINGUAL_LENGTH, NOT_NULL_CONSTRAINT, REFERENCES, TYPE, UNIQUE_CONSTRAINT |
| Methods inherited from class de.infoasset.platform.services.asset.ModelProperty |
applyWhen, checkName, containsValidator, getAttributeName, getChoices, getFullyQualifiedName, getLabel, getListeners, getLongHelp, getName, getOrdinalNumber, getOwnerAsset, getParameterName, getParameterNameIdSafe, getPropertyName, getPropertyNameFromParameterName, getShortHelp, getUid, getValidators, init, isCloneable, isDynamicProperty, isValid, isVersionable, isWatchable, putValidators, setName, showInGenericViews |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Property
public Property()
getStringRepresentation
protected java.lang.String getStringRepresentation(java.lang.Object value)
getTypedObjectFromString
protected java.lang.Object getTypedObjectFromString(java.lang.String value)
setObject
public final void setObject(java.lang.Object value)
getObject
public final java.lang.Object getObject()
validationMessage
public final java.lang.String validationMessage()
- Specified by:
validationMessage in class ModelProperty
getContainer
public Container getContainer()
- Specified by:
getContainer in interface Attribute
setContainer
public void setContainer(Container container)
- Specified by:
setContainer in interface Attribute
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
encode
public final java.lang.String encode()
- Description copied from interface:
Attribute
- Return a string representation if this attribute siganture.
The encoding must conform with ContentType.toString().
- Specified by:
encode in interface Attribute
getUniqueConstraintAttributeNames
public java.lang.String[] getUniqueConstraintAttributeNames()
- Description copied from interface:
Attribute
- Returns null if no unique constraint applies to this attribute.
- Specified by:
getUniqueConstraintAttributeNames in interface Attribute
notNull
public boolean notNull()
- Specified by:
notNull in interface Attribute
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent in interface Attribute