|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.beaneditor.BeanModelUtils
public final class BeanModelUtils
Utilities used in a few places to modify an existing BeanModel.
| Constructor Summary | |
|---|---|
BeanModelUtils()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanModelUtils()
| Method Detail |
|---|
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 null
public 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...)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||