public final class BeanModelUtils extends Object
BeanModel.| Constructor and Description |
|---|
BeanModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(BeanModel model,
String propertyNames)
Adds empty properties to the bean model.
|
static void |
exclude(BeanModel model,
String propertyNames)
Removes properties from the bean model.
|
static void |
include(BeanModel model,
String propertyNames)
Selects a subset of the properties to keep, and reorders them.
|
static void |
modify(BeanModel model,
String addPropertyNames,
String includePropertyNames,
String excludePropertyNames,
String reorderPropertyNames)
Performs standard set of modifications to a
BeanModel
. |
static void |
reorder(BeanModel model,
String propertyNames)
Reorders properties within the bean model.
|
public BeanModelUtils()
public static void modify(BeanModel model, String addPropertyNames, String includePropertyNames, String excludePropertyNames, String reorderPropertyNames)
BeanModel
. First new
properties may be added, then properties removed, then properties reordered.model - to modifiyaddPropertyNames - comma seperated list of property names to add, or nullincludePropertyNames - comma seperated list of property names to includeexcludePropertyNames - comma seperated list of property names to exclude, or nullreorderPropertyNames - comma seperated list of property names to reorder, or nullpublic static void add(BeanModel model, String propertyNames)
PropertyConduit. `model - to be modifiedpropertyNames - comma-separated list of property namesBeanModel.addEmpty(String)public static void exclude(BeanModel model, String propertyNames)
model - propertyNames - comma-separated list of property namesBeanModel.exclude(String...)public static void include(BeanModel model, String propertyNames)
public static void reorder(BeanModel model, String propertyNames)
model - propertyNames - comma-separated list of property namesBeanModel.reorder(String...)5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.