Package com.enonic.xp.data
Class ValueType<T>
- java.lang.Object
-
- com.enonic.xp.data.ValueType<T>
-
@PublicApi public abstract class ValueType<T> extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
convert(Object object)
boolean
equals(Object o)
abstract Value
fromJsonValue(Object object)
Returns a new Value of this ValueType from object used in JSON.Class<T>
getJavaType()
String
getName()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getName
public final String getName()
-
fromJsonValue
public abstract Value fromJsonValue(Object object)
Returns a new Value of this ValueType from object used in JSON. SeeValue.toJsonValue()
-
-