Class 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 the Property.PropertyBuilder interface.
      • 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.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>
    • 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 interface org.refcodes.mixin.KeyAccessor

        getKey
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.refcodes.mixin.ValueAccessor

        getValue
    • 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.