Uses of Class
org.eclipse.yasson.internal.model.PropertyModel
-
Packages that use PropertyModel Package Description org.eclipse.yasson.internal.model org.eclipse.yasson.internal.model.customization -
-
Uses of PropertyModel in org.eclipse.yasson.internal.model
Methods in org.eclipse.yasson.internal.model that return PropertyModel Modifier and Type Method Description PropertyModel
ClassModel. findPropertyModelByJsonReadName(String jsonReadName)
Search for field in this class model and superclasses of its class.PropertyModel
ClassModel. getPropertyModel(String name)
Gets a property model by default (non customized) name.PropertyModel[]
ClassModel. getSortedProperties()
Get sorted class properties copy, combination of field and its getter / setter, javabeans alike.Methods in org.eclipse.yasson.internal.model that return types with arguments of type PropertyModel Modifier and Type Method Description Map<String,PropertyModel>
ClassModel. getProperties()
Get class properties copy, combination of field and its getter / setter, javabeans alike.Methods in org.eclipse.yasson.internal.model with parameters of type PropertyModel Modifier and Type Method Description int
PropertyModel. compareTo(PropertyModel o)
Method parameters in org.eclipse.yasson.internal.model with type arguments of type PropertyModel Modifier and Type Method Description void
ClassModel. setProperties(List<PropertyModel> parsedProperties)
Sets parsed properties of the class.Constructors in org.eclipse.yasson.internal.model with parameters of type PropertyModel Constructor Description PropertyModel(PropertyModel a, PropertyModel b)
Create a new PropertyModel that merges two existing PropertyModel that have identical read/write names. -
Uses of PropertyModel in org.eclipse.yasson.internal.model.customization
Methods in org.eclipse.yasson.internal.model.customization that return types with arguments of type PropertyModel Modifier and Type Method Description static Consumer<List<PropertyModel>>
StrategiesProvider. getOrderingFunction(String strategy)
Returns an ordering strategy which corresponds to the ordering strategy name.List<PropertyModel>
PropertyOrdering. orderProperties(List<PropertyModel> properties, ClassModel classModel)
Sorts class properties either, by classJsonbPropertyOrder
annotation, or byPropertyOrderStrategy
if set inJsonbConfig
.Methods in org.eclipse.yasson.internal.model.customization with parameters of type PropertyModel Modifier and Type Method Description void
CreatorCustomization. setPropertyModel(PropertyModel propertyModel)
Set property referenced model.Method parameters in org.eclipse.yasson.internal.model.customization with type arguments of type PropertyModel Modifier and Type Method Description List<PropertyModel>
PropertyOrdering. orderProperties(List<PropertyModel> properties, ClassModel classModel)
Sorts class properties either, by classJsonbPropertyOrder
annotation, or byPropertyOrderStrategy
if set inJsonbConfig
.Constructor parameters in org.eclipse.yasson.internal.model.customization with type arguments of type PropertyModel Constructor Description PropertyOrdering(Consumer<List<PropertyModel>> propertyOrderStrategy)
Creates a new instance.
-