Interface IEntityProperty
-
- All Superinterfaces:
java.lang.Comparable<IEntityProperty>
,java.io.Serializable
- All Known Implementing Classes:
AbstractEntityProperty
,EntityProperty
,GenericEntityProperty
,ManagedEntityProperty
,MaterialEntityProperty
,SampleEntityProperty
,VocabularyTermEntityProperty
public interface IEntityProperty extends java.io.Serializable, java.lang.Comparable<IEntityProperty>
An interface for entity properties.
-
-
Field Summary
Fields Modifier and Type Field Description static IEntityProperty[]
EMPTY_ARRAY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Material
getMaterial()
java.lang.Long
getOrdinal()
PropertyType
getPropertyType()
Sample
getSample()
java.lang.String
getValue()
VocabularyTerm
getVocabularyTerm()
boolean
isDynamic()
boolean
isManaged()
boolean
isScriptable()
void
setMaterial(Material material)
void
setOrdinal(java.lang.Long ordinal)
void
setPropertyType(PropertyType propertyType)
void
setSample(Sample sample)
void
setValue(java.lang.String value)
void
setVocabularyTerm(VocabularyTerm vocabularyTerm)
java.lang.String
tryGetAsString()
Returns a string representation of whatever value this property represents.java.lang.String
tryGetOriginalValue()
-
-
-
Field Detail
-
EMPTY_ARRAY
static final IEntityProperty[] EMPTY_ARRAY
-
-
Method Detail
-
tryGetAsString
java.lang.String tryGetAsString()
Returns a string representation of whatever value this property represents. Vocabulary terms will be represented as their CODE, material values will be represented as "CODE (TYPE_CODE)".
-
tryGetOriginalValue
java.lang.String tryGetOriginalValue()
-
getMaterial
Material getMaterial()
-
setMaterial
void setMaterial(Material material)
-
getSample
Sample getSample()
-
setSample
void setSample(Sample sample)
-
getVocabularyTerm
VocabularyTerm getVocabularyTerm()
-
setVocabularyTerm
void setVocabularyTerm(VocabularyTerm vocabularyTerm)
-
getValue
java.lang.String getValue()
-
setValue
void setValue(java.lang.String value)
-
getPropertyType
PropertyType getPropertyType()
-
setPropertyType
void setPropertyType(PropertyType propertyType)
-
setOrdinal
void setOrdinal(java.lang.Long ordinal)
-
getOrdinal
java.lang.Long getOrdinal()
-
isManaged
boolean isManaged()
-
isDynamic
boolean isDynamic()
-
isScriptable
boolean isScriptable()
-
-