public class ArchivedProperty extends Object
| Constructor and Description |
|---|
ArchivedProperty(String name,
Class<?> propertyType)
Constructs a new instance with a null parent.
|
ArchivedProperty(String name,
Class<?> propertyType,
ArchivedProperty parentProperty)
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name of the property.
|
ArchivedProperty |
getParentProperty()
Gets the parent property if this is a sub-property.
|
Class<?> |
getPropertyType()
Gets the type of the property.
|
public ArchivedProperty(String name, Class<?> propertyType)
name - The name of the property.propertyType - The type of property.public ArchivedProperty(String name, Class<?> propertyType, ArchivedProperty parentProperty)
name - The name of the property.propertyType - The type of property.parentProperty - The parentpublic final String getName()
public final Class<?> getPropertyType()
@Nullable public final ArchivedProperty getParentProperty()
null.