AttributeBuilder implementation.
AttributeBuilder
| Modifier and Type | Field and Description |
|---|---|
| protected final List | |
| protected final Map |
| Access | Constructor and Description |
|---|---|
| public |
| attributes | back to summary |
|---|---|
| protected final List<Attribute<T>> attributes | |
| name2Attribute | back to summary |
|---|---|
| protected final Map<String, Attribute<T>> name2Attribute | |
| DefaultAttributeBuilder | back to summary |
|---|---|
| public DefaultAttributeBuilder() | |
| createAttribute | back to summary |
|---|---|
| public synchronized <T> Attribute Implements org. Doc from org. Create Attribute with name
| |
| createAttribute | back to summary |
|---|---|
| public synchronized <T> Attribute Implements org. Doc from org. Create Attribute with name and default value
| |
| createAttribute | back to summary |
|---|---|
| public synchronized <T> Attribute Implements org. Doc from org. Create Attribute with name and initializer, which will be called, if Attribute's value is null on a AttributedObject
| |
| createSafeAttributeHolder | back to summary |
|---|---|
| public AttributeHolder createSafeAttributeHolder() Implements org. Doc from org. Creates and returns new thread-safe
| |
| createUnsafeAttributeHolder | back to summary |
|---|---|
| public AttributeHolder createUnsafeAttributeHolder() Implements org. Doc from org. Creates and returns new non thread-safe
| |
| getAttributeByIndex | back to summary |
|---|---|
| protected Attribute | |
| getAttributeByName | back to summary |
|---|---|
| protected Attribute | |