Class PropertyImpl.PropertyBuilderImpl

    • Constructor Detail

      • PropertyBuilderImpl

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

        public PropertyBuilderImpl​(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​(String aKey,
                                   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​(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

      • setKey

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

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