Class PropertyImpl

java.lang.Object
org.refcodes.struct.RelationImpl<String,​String>
org.refcodes.struct.PropertyImpl
All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.ValueAccessor<String>, Property, Relation<String,​String>
Direct Known Subclasses:
PropertyImpl.PropertyBuilderImpl

public class PropertyImpl
extends RelationImpl<String,​String>
implements Property
Implementation of the Property interface.
  • Constructor Details

    • PropertyImpl

      protected PropertyImpl()
      Instantiates a new property impl.
    • PropertyImpl

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

      public PropertyImpl​(String aTupel)
      Initializes the PropertyImpl 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).
    • PropertyImpl

      public PropertyImpl​(String aTupel, char aTupelDelimeter)
      Initializes the PropertyImpl 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.