Package org.refcodes.structure
Class PropertyImpl
- java.lang.Object
-
- org.refcodes.structure.RelationImpl<java.lang.String,java.lang.String>
-
- org.refcodes.structure.PropertyImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<java.lang.String>
,org.refcodes.mixin.ValueAccessor<java.lang.String>
,Property
,Relation<java.lang.String,java.lang.String>
- Direct Known Subclasses:
PropertyImpl.PropertyBuilderImpl
public class PropertyImpl extends RelationImpl<java.lang.String,java.lang.String> implements Property
Implementation of theProperty
interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyImpl.PropertyBuilderImpl
Implementation of theProperty.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.structure.Property
Property.PropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.structure.Relation
Relation.RelationBuilder<K,V>
-
Nested classes/interfaces inherited from class org.refcodes.structure.RelationImpl
RelationImpl.RelationBuilderImpl<K,V>
-
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>
-
-
Field Summary
-
Fields inherited from class org.refcodes.structure.RelationImpl
_key, _value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PropertyImpl()
Instantiates a new property impl.PropertyImpl(java.lang.String aTupel)
Initializes thePropertyImpl
with the given values.PropertyImpl(java.lang.String aTupel, char aTupelDelimeter)
Initializes thePropertyImpl
with the given values.PropertyImpl(java.lang.String aKey, java.lang.String aValue)
Initializes thePropertyImpl
with the given values.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.structure.Property
toProperty
-
Methods inherited from class org.refcodes.structure.RelationImpl
getKey, getValue, toString
-
-
-
-
Constructor Detail
-
PropertyImpl
protected PropertyImpl()
Instantiates a new property impl.
-
PropertyImpl
public PropertyImpl(java.lang.String aKey, java.lang.String aValue)
Initializes thePropertyImpl
with the given values.- Parameters:
aKey
- The according key to set.aValue
- The according value to set.
-
PropertyImpl
public PropertyImpl(java.lang.String aTupel)
Initializes thePropertyImpl
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(java.lang.String aTupel, char aTupelDelimeter)
Initializes thePropertyImpl
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.
-
-