public class BindableMetadata extends CommonMetadata
Bindable type.description, label, title| Constructor and Description |
|---|
BindableMetadata() |
| Modifier and Type | Method and Description |
|---|---|
static BindableMetadata |
forClassWithParents(Class<?> clazz)
Load metadata of a given bindable class, merged with bindable attributes from
parent classes marked with
Bindable as well. |
Map<String,AttributeMetadata> |
getAttributeMetadata()
Returns metadata for all attributes in the bindable type.
|
void |
setAttributeMetadata(Map<String,AttributeMetadata> map) |
String |
toString() |
getDescription, getLabel, getLabelOrTitle, getTitle, setDescription, setLabel, setTitlepublic Map<String,AttributeMetadata> getAttributeMetadata()
Attribute.key(). The returned map
is unmodifiable.public void setAttributeMetadata(Map<String,AttributeMetadata> map)
public static BindableMetadata forClassWithParents(Class<?> clazz)
Bindable as well.Copyright © 2013 Carrot2.org. All Rights Reserved.