public class FormMetaData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOM_TAB |
static String |
DEFAULT_TAB |
| Constructor and Description |
|---|
FormMetaData(Class<?> type,
List<PropertyBinding> propertyMetaData) |
| Modifier and Type | Method and Description |
|---|---|
PropertyBinding |
findAttribute(String beanPropName)
Find a PropertyBinding with the given bean (Java Bean Name) property.
|
List<PropertyBinding> |
getBaseAttributes() |
List<PropertyBinding> |
getGroupedAttribtes(String groupName) |
Set<String> |
getGroupNames()
Returns all group names.
|
Map<String,List<PropertyBinding>> |
getTabbedAttributes() |
boolean |
hasTabs() |
boolean |
isFlattened()
Returns true if the Form contains one or more attributes that are accessed as
sub-attributes.
|
void |
setGroupedAttributes(String groupName,
List<PropertyBinding> attributes) |
public static final String DEFAULT_TAB
public static final String CUSTOM_TAB
public FormMetaData(Class<?> type, List<PropertyBinding> propertyMetaData)
public List<PropertyBinding> getBaseAttributes()
public void setGroupedAttributes(String groupName, List<PropertyBinding> attributes)
public List<PropertyBinding> getGroupedAttribtes(String groupName)
public Set<String> getGroupNames()
public boolean isFlattened()
true if the structure has been flattened, false otherwise.public boolean hasTabs()
public Map<String,List<PropertyBinding>> getTabbedAttributes()
public PropertyBinding findAttribute(String beanPropName)
beanPropName - The name of the bean property.IllegalArgumentException - if the PropertyBinding is not found.Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.