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 MaterialgetMaterial()java.lang.LonggetOrdinal()PropertyTypegetPropertyType()SamplegetSample()java.lang.StringgetValue()VocabularyTermgetVocabularyTerm()booleanisDynamic()booleanisManaged()booleanisScriptable()voidsetMaterial(Material material)voidsetOrdinal(java.lang.Long ordinal)voidsetPropertyType(PropertyType propertyType)voidsetSample(Sample sample)voidsetValue(java.lang.String value)voidsetVocabularyTerm(VocabularyTerm vocabularyTerm)java.lang.StringtryGetAsString()Returns a string representation of whatever value this property represents.java.lang.StringtryGetOriginalValue()
-
-
-
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()
-
-