public abstract class Property extends Object implements Comparable<Property>
Modifier and Type | Field and Description |
---|---|
boolean |
inline |
String |
name
Name of the property.
|
Model |
parent
Model to which this property belongs to.
|
int |
visibility
Visibility depth level of this property.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property that) |
abstract Type |
getGenericType() |
abstract String |
getJavadoc()
Gets the associated javadoc, if any, or null.
|
abstract Class |
getType() |
protected abstract Object |
getValue(Object bean)
Gets the value of this property from the bean.
|
void |
writeTo(Object object,
int depth,
DataWriter writer)
Deprecated.
as of 1.139
|
void |
writeTo(Object object,
TreePruner pruner,
DataWriter writer)
Writes one property of the given object to
DataWriter . |
public final String name
public final int visibility
Exported.visibility()
public final Model parent
public final boolean inline
Exported.inline()
public int compareTo(Property that)
compareTo
in interface Comparable<Property>
public abstract Type getGenericType()
public abstract Class getType()
public abstract String getJavadoc()
public void writeTo(Object object, TreePruner pruner, DataWriter writer) throws IOException
DataWriter
.pruner
- Determines how to prune the object graph tree.IOException
public void writeTo(Object object, int depth, DataWriter writer) throws IOException
IOException
protected abstract Object getValue(Object bean) throws IllegalAccessException, InvocationTargetException
Copyright © 2016. All rights reserved.