org.omnaest.utils.propertyfile.content.element
Class Property

java.lang.Object
  extended by org.omnaest.utils.propertyfile.content.Element
      extended by org.omnaest.utils.propertyfile.content.element.Property

public class Property
extends Element

Author:
Omnaest
See Also:
Element, PropertyFileContent

Field Summary
protected  String delimiter
           
protected  String key
           
protected  String prefixBlanks
           
protected  List<String> valueList
           
 
Fields inherited from class org.omnaest.utils.propertyfile.content.Element
index
 
Constructor Summary
Property()
           
 
Method Summary
 boolean addAllValues(Collection<String> valueCollection)
           
 void addValue(int index, String value)
           
 boolean addValue(String value)
           
 void clearValues()
           
 boolean equals(Object obj)
           
 boolean equalsInKeyAndValue(Object object)
          Returns true, if the getKey() and getValueList() are equal.
 String getDelimiter()
           
 String getKey()
           
 String getPrefixBlanks()
           
 List<String> getValueList()
           
 int hashCode()
           
 void setDelimiter(String delimiter)
           
 void setKey(String key)
           
 void setPrefixBlanks(String prefixBlanks)
           
 
Methods inherited from class org.omnaest.utils.propertyfile.content.Element
getIndex, resolveIndexPosition, setIndex
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefixBlanks

protected String prefixBlanks

key

protected String key

delimiter

protected String delimiter

valueList

protected List<String> valueList
Constructor Detail

Property

public Property()
Method Detail

getKey

public String getKey()

setKey

public void setKey(String key)

getDelimiter

public String getDelimiter()

setDelimiter

public void setDelimiter(String delimiter)

getValueList

public List<String> getValueList()

getPrefixBlanks

public String getPrefixBlanks()

setPrefixBlanks

public void setPrefixBlanks(String prefixBlanks)

addValue

public void addValue(int index,
                     String value)

addValue

public boolean addValue(String value)

addAllValues

public boolean addAllValues(Collection<String> valueCollection)

clearValues

public void clearValues()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equalsInKeyAndValue

public boolean equalsInKeyAndValue(Object object)
Returns true, if the getKey() and getValueList() are equal.

Parameters:
object -
Returns:

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.