public interface Attributes<T,V>
Attribute in the sense that an instance of this represents the Entity having Attribute accessors while an Attribute represents the Attribute itself| Modifier and Type | Method and Description |
|---|---|
V |
getAttributeValue(String name)
Accessor to get the value and encapsulate how the value comes from the
Attributes.Attribute |
T |
setAttribute(String name,
V value)
This method encapsulates the responsibility of ensuring the @link Attribute} can be set into the entity,
including null checks, initializations, any relations between
Attributes and Attribute. |
T setAttribute(String name, V value)
Attributes and Attribute.name - as Stringvalue - as V getAttributeValue(String name)
Attributes.Attributename - as StringCopyright © 2018. All rights reserved.