Package com.enonic.xp.data
Class Property
- java.lang.Object
-
- com.enonic.xp.data.Property
-
@PublicApi public final class Property extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
checkName(java.lang.String name)
Property
copyTo(PropertySet destination)
int
countAncestors()
boolean
equals(java.lang.Object o)
BinaryReference
getBinaryReference()
java.lang.Boolean
getBoolean()
java.lang.Double
getDouble()
GeoPoint
getGeoPoint()
int
getIndex()
java.time.Instant
getInstant()
Link
getLink()
java.time.LocalDate
getLocalDate()
java.time.LocalDateTime
getLocalDateTime()
java.time.LocalTime
getLocalTime()
java.lang.Long
getLong()
java.lang.String
getName()
java.lang.Object
getObject()
PropertySet
getParent()
PropertyPath
getPath()
Reference
getReference()
PropertySet
getSet()
java.lang.String
getString()
ValueType
getType()
Value
getValue()
int
hashCode()
boolean
hasNotNullValue()
boolean
hasNullValue()
void
setValue(Value value)
java.lang.String
toString()
-
-
-
Method Detail
-
setValue
public void setValue(Value value)
-
getParent
public PropertySet getParent()
-
getName
public java.lang.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 java.lang.Object getObject()
-
getString
public java.lang.String getString()
-
getBoolean
public java.lang.Boolean getBoolean()
-
getLong
public java.lang.Long getLong()
-
getDouble
public java.lang.Double getDouble()
-
getGeoPoint
public GeoPoint getGeoPoint()
-
getReference
public Reference getReference()
-
getBinaryReference
public BinaryReference getBinaryReference()
-
getLink
public Link getLink()
-
getLocalDate
public java.time.LocalDate getLocalDate()
-
getLocalDateTime
public java.time.LocalDateTime getLocalDateTime()
-
getLocalTime
public java.time.LocalTime getLocalTime()
-
getInstant
public java.time.Instant getInstant()
-
checkName
public static void checkName(java.lang.String name)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
countAncestors
public int countAncestors()
-
copyTo
public Property copyTo(PropertySet destination)
-
-