Interface Property

All Superinterfaces:
org.refcodes.mixin.KeyAccessor<String>, Relation<String,String>, org.refcodes.mixin.ValueAccessor<String>
All Known Subinterfaces:
Property.PropertyBuilder
All Known Implementing Classes:
PropertyImpl, PropertyImpl.PropertyBuilderImpl

public interface Property extends Relation<String,String>
A Property is defined as being String representing a property's key and a String representing the proprty's value.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Adds builder functionality to a Property.

    Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

    org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Relation

    Relation.RelationBuilder<K,V>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor

    org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the key/value-pair as a property String "key=value".

    Methods inherited from interface org.refcodes.mixin.KeyAccessor

    getKey

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValue, getValueOr
  • Method Details

    • toProperty

      default String toProperty()
      Returns the key/value-pair as a property String "key=value".
      Returns:
      This Property as a String