Package com.avoka.fc.core.entity
Class VersionPropertyValue
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._VersionPropertyValue
-
- com.avoka.fc.core.entity.VersionPropertyValue
-
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
@CacheGroups("CONFIG") public class VersionPropertyValue extends _VersionPropertyValue implements Auditable
Provides a property value associated with a form template version.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.avoka.fc.core.entity.auto._VersionPropertyValue
LABEL, LABEL_PROPERTY, NAME, NAME_PROPERTY, PROPERTY_TYPE, PROPERTY_TYPE_PROPERTY, SCOPE, SCOPE_PROPERTY, SEQUENCE, SEQUENCE_PROPERTY, TEMPLATE_VERSION, TEMPLATE_VERSION_PROPERTY, TYPE, TYPE_PROPERTY, VALUE, VALUE_PROPERTY, VERSION_PROPERTY_VALUE_OID_PK_COLUMN
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description VersionPropertyValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getLongValue()
Deprecated.- use getValue() instead.String
getTextValue()
Deprecated.there is no longer a distinction between value and longValue - just use getValue() throughout.boolean
isClientScope()
boolean
isFormScope()
boolean
isTypeCSV()
boolean
isTypeHTML()
boolean
isTypeImage()
boolean
isTypeJSON()
boolean
isTypeList()
boolean
isTypeLongText()
void
setLongValue(String longValue)
Deprecated.- use setValue(String) instead.-
Methods inherited from class com.avoka.fc.core.entity.auto._VersionPropertyValue
getLabel, getName, getPropertyType, getScope, getSequence, getTemplateVersion, getType, getValue, setLabel, setName, setPropertyType, setScope, setSequence, setTemplateVersion, setType, setValue
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.avoka.fc.core.entity.Auditable
getId, getValuesMap
-
-
-
-
Method Detail
-
getTextValue
@Deprecated public String getTextValue()
Deprecated.there is no longer a distinction between value and longValue - just use getValue() throughout. This method may be removed in a future TM version.Return the text value, either the underlying long value or the value depending upon the property type.- Returns:
- the text value, either the underlying long value or the value depending upon the property type.
-
setLongValue
@Deprecated public void setLongValue(String longValue)
Deprecated.- use setValue(String) instead. This method may be removed in a future TM version.- Parameters:
longValue
- deprecated
-
getLongValue
@Deprecated public String getLongValue()
Deprecated.- use getValue() instead. This method may be removed in a future TM version.- Returns:
- deprecated
-
isTypeCSV
public boolean isTypeCSV()
- Returns:
- true if the property type is 'CSV'
-
isTypeHTML
public boolean isTypeHTML()
- Returns:
- true if the property type is 'HTML'
-
isTypeImage
public boolean isTypeImage()
- Returns:
- true if the property type is 'Image'
-
isTypeJSON
public boolean isTypeJSON()
- Returns:
- true if the property type is 'JSON'
-
isTypeList
public boolean isTypeList()
- Returns:
- true if the property type is 'List'
-
isTypeLongText
public boolean isTypeLongText()
- Returns:
- true if the property type is 'LongText'
-
isClientScope
public boolean isClientScope()
- Returns:
- true if the property scope is 'Client'
-
isFormScope
public boolean isFormScope()
- Returns:
- true if the property scope is 'Form'
-
-