Class PropertyImpl.PropertyBuilderImpl

  • All Implemented Interfaces:
    org.refcodes.mixin.KeyAccessor<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<java.lang.String,java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>, org.refcodes.mixin.KeyAccessor.KeyProperty<java.lang.String>, org.refcodes.mixin.ValueAccessor<java.lang.String>, org.refcodes.mixin.ValueAccessor.ValueBuilder<java.lang.String,java.lang.String>, org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.String>, org.refcodes.mixin.ValueAccessor.ValueProperty<java.lang.String>, Property, Property.PropertyBuilder, Relation<java.lang.String,java.lang.String>, Relation.RelationBuilder<java.lang.String,java.lang.String>
    Enclosing class:
    PropertyImpl


    public static class PropertyImpl.PropertyBuilderImpl
    extends PropertyImpl
    implements Property.PropertyBuilder
    Implementation of the Property.PropertyBuilder interface.
    • Nested Class Summary

      • 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>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setKey​(java.lang.String aKey)
      Sets the key.
      void setValue​(java.lang.String aValue)
      Sets the value.
      java.lang.String toString​()
      • 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

      • PropertyBuilderImpl

        public PropertyBuilderImpl​()
        Use the builder methods or the bean attributes to set the key and the value.
      • PropertyBuilderImpl

        public PropertyBuilderImpl​(java.lang.String aTupel,
                                   char aTupelDelimeter)
        Initializes the PropertyImpl.PropertyBuilderImpl with the given values.
        Parameters:
        aTupel - A tupel is a key and a value with the assignment operator "=" inbetween, e.g. "a=5" (the key would be a, the value would be 5).
        aTupelDelimeter - The delimiter to be used for dividing the key/value-pair.
      • PropertyBuilderImpl

        public PropertyBuilderImpl​(java.lang.String aKey,
                                   java.lang.String aValue)
        Initializes the PropertyImpl.PropertyBuilderImpl with the given values.
        Parameters:
        aKey - The according key to set.
        aValue - The according value to set.
      • PropertyBuilderImpl

        public PropertyBuilderImpl​(java.lang.String aTupel)
        Initializes the PropertyImpl.PropertyBuilderImpl with the given values.
        Parameters:
        aTupel - A tupel is a key and a value with the assignment operator "=" inbetween, e.g. "a=5" (the key would be a, the value would be 5).
    • Method Detail

      • toString

        public java.lang.String toString​()
        Description copied from class: RelationImpl
        Overrides:
        toString in class RelationImpl<java.lang.String,java.lang.String>
      • setKey

        public void setKey​(java.lang.String aKey)
        Sets the key.
        Specified by:
        setKey in interface org.refcodes.mixin.KeyAccessor.KeyMutator<java.lang.String>
        Parameters:
        aKey - the new key
      • setValue

        public void setValue​(java.lang.String aValue)
        Sets the value.
        Specified by:
        setValue in interface org.refcodes.mixin.ValueAccessor.ValueMutator<java.lang.String>
        Parameters:
        aValue - the new value