T
- The type of the property which should be associated with this descriptor.public static class EmptyConfiguration.PropertyDescriptor<T> extends java.lang.Object implements JsonSerializable
Constructor and Description |
---|
PropertyDescriptor(java.lang.String name,
java.lang.Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
T |
asTypedObject(java.lang.Object object) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
java.lang.Class<? extends T> |
getPropertyClass() |
int |
hashCode() |
boolean |
isOfCorrectType(java.lang.Object object) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromJson, toJson
public PropertyDescriptor(java.lang.String name, java.lang.Class<T> clazz)
public java.lang.String getName()
public java.lang.Class<? extends T> getPropertyClass()
public T asTypedObject(java.lang.Object object)
public boolean isOfCorrectType(java.lang.Object object)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object