Comparable<PropertyModel>public class PropertyModel extends Object implements Comparable<PropertyModel>
| Constructor | Description |
|---|---|
PropertyModel(ClassModel classModel,
Property property,
JsonbContext jsonbContext) |
Creates an instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
compareTo(PropertyModel o) |
|
boolean |
equals(Object o) |
|
ClassModel |
getClassModel() |
Model of declaring class of this property.
|
PropertyCustomization |
getCustomization() |
Introspected customization of a property.
|
PropertyValuePropagation |
getPropagation() |
Wrapper object of
java.lang.reflect representations of this javabean property. |
Type |
getPropertyDeserializationType() |
Returns which type should be used to deserialization
|
String |
getPropertyName() |
Default property name according to Field / Getter / Setter method names.
|
Type |
getPropertySerializationType() |
Returns which type should be used to serialization
|
javax.json.bind.serializer.JsonbSerializer<?> |
getPropertySerializer() |
Gets serializer.
|
Type |
getPropertyType() |
Runtime type of a property.
|
String |
getReadName() |
Gets a name of JSON document property to read this property from.
|
Object |
getValue(Object object) |
Gets property's value.
|
String |
getWriteName() |
|
int |
hashCode() |
|
boolean |
isReadable() |
Property is readable.
|
boolean |
isWritable() |
Property is writable.
|
void |
setValue(Object object,
Object value) |
Sets a property.
|
public PropertyModel(ClassModel classModel, Property property, JsonbContext jsonbContext)
classModel - Class model of declaring class.property - Property.jsonbContext - Context.public Type getPropertyDeserializationType()
public Type getPropertySerializationType()
public Object getValue(Object object)
object - object to read property frompublic void setValue(Object object, Object value)
object - Object to set value in.value - Value to set.public boolean isReadable()
public boolean isWritable()
public String getPropertyName()
public Type getPropertyType()
public ClassModel getClassModel()
public PropertyCustomization getCustomization()
public int compareTo(PropertyModel o)
compareTo in interface Comparable<PropertyModel>public String getReadName()
public String getWriteName()
public javax.json.bind.serializer.JsonbSerializer<?> getPropertySerializer()
public PropertyValuePropagation getPropagation()
java.lang.reflect representations of this javabean property.Copyright © 2018 Oracle Corporation. All rights reserved.