Package com.enonic.xp.data
Class Property
- java.lang.Object
-
- com.enonic.xp.data.Property
-
@PublicApi public final class Property extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckName(String name)PropertycopyTo(PropertySet destination)intcountAncestors()booleanequals(Object o)BinaryReferencegetBinaryReference()BooleangetBoolean()DoublegetDouble()GeoPointgetGeoPoint()intgetIndex()InstantgetInstant()LinkgetLink()LocalDategetLocalDate()LocalDateTimegetLocalDateTime()LocalTimegetLocalTime()LonggetLong()StringgetName()ObjectgetObject()PropertySetgetParent()PropertyPathgetPath()ReferencegetReference()PropertySetgetSet()StringgetString()ValueTypegetType()ValuegetValue()inthashCode()booleanhasNotNullValue()booleanhasNullValue()voidsetValue(Value value)StringtoString()
-
-
-
Method Detail
-
setValue
public void setValue(Value value)
-
getParent
public PropertySet getParent()
-
getName
public String getName()
-
getIndex
public int getIndex()
-
getPath
public PropertyPath getPath()
-
getType
public ValueType getType()
-
getValue
public Value getValue()
-
hasNullValue
public boolean hasNullValue()
-
hasNotNullValue
public boolean hasNotNullValue()
-
getSet
public PropertySet getSet()
-
getObject
public Object getObject()
-
getString
public String getString()
-
getBoolean
public Boolean getBoolean()
-
getLong
public Long getLong()
-
getDouble
public Double getDouble()
-
getGeoPoint
public GeoPoint getGeoPoint()
-
getReference
public Reference getReference()
-
getBinaryReference
public BinaryReference getBinaryReference()
-
getLink
public Link getLink()
-
getLocalDate
public LocalDate getLocalDate()
-
getLocalDateTime
public LocalDateTime getLocalDateTime()
-
getLocalTime
public LocalTime getLocalTime()
-
getInstant
public Instant getInstant()
-
checkName
public static void checkName(String name)
-
countAncestors
public int countAncestors()
-
copyTo
public Property copyTo(PropertySet destination)
-
-