Package org.refcodes.structure
Class AttributeImpl
- java.lang.Object
-
- org.refcodes.structure.RelationImpl<java.lang.String,java.lang.Object>
-
- org.refcodes.structure.AttributeImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<java.lang.String>
,org.refcodes.mixin.ValueAccessor<java.lang.String>
,Attribute
,Relation<java.lang.String,java.lang.Object>
- Direct Known Subclasses:
AttributeImpl.AttributeBuilderImpl
public class AttributeImpl extends RelationImpl<java.lang.String,java.lang.Object> implements Attribute
Class describing a beans's attribute.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttributeImpl.AttributeBuilderImpl
Implementation of theProperty.PropertyBuilder
interface.-
Nested classes/interfaces inherited from interface org.refcodes.structure.Attribute
Attribute.AttributeBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
Relation.RelationBuilder<K,V>
-
Nested classes/interfaces inherited from class org.refcodes.structure.RelationImpl
RelationImpl.RelationBuilderImpl<K,V>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor
org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends java.lang.Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends java.lang.Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class org.refcodes.structure.RelationImpl
_key, _value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributeImpl()
Instantiates a new attribute impl.AttributeImpl(java.lang.String aKey, java.lang.Object aValue)
Constructs a key-to-value property.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class org.refcodes.structure.RelationImpl
getKey, getValue, toString
-
-
-
-
Constructor Detail
-
AttributeImpl
protected AttributeImpl()
Instantiates a new attribute impl.
-
AttributeImpl
public AttributeImpl(java.lang.String aKey, java.lang.Object aValue)
Constructs a key-to-value property.- Parameters:
aKey
- The key for the key-value property.aValue
- The value for the key-value property.
-
-