cz.cuni.mff.mirovsky.properties
Class Property

java.lang.Object
  extended by cz.cuni.mff.mirovsky.properties.Property
All Implemented Interfaces:
Item

public class Property
extends java.lang.Object
implements Item

Class Property represents one property - its name, value and comment.


Constructor Summary
Property()
           
Property(java.lang.String p_section_name, java.lang.String p_name)
           
Property(java.lang.String p_section_name, java.lang.String p_name, java.lang.String p_value)
           
Property(java.lang.String p_section_name, java.lang.String p_name, java.lang.String p_value, java.lang.String p_comment)
           
 
Method Summary
 Property getClone()
           
 java.lang.String getComment()
          Gets the comment of the item
 java.lang.String getName()
          Gets the name of the item
 java.lang.String getSectionName()
           
 java.lang.String getValue()
          Gets the value of the item
 void setComment(java.lang.String p_comment)
           
 void setName(java.lang.String p_name)
           
 void setSectionName(java.lang.String p_name)
           
 void setValue(java.lang.String p_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property()

Property

public Property(java.lang.String p_section_name,
                java.lang.String p_name)

Property

public Property(java.lang.String p_section_name,
                java.lang.String p_name,
                java.lang.String p_value)

Property

public Property(java.lang.String p_section_name,
                java.lang.String p_name,
                java.lang.String p_value,
                java.lang.String p_comment)
Method Detail

getClone

public Property getClone()

getComment

public java.lang.String getComment()
Description copied from interface: Item
Gets the comment of the item

Specified by:
getComment in interface Item

setComment

public void setComment(java.lang.String p_comment)

getName

public java.lang.String getName()
Description copied from interface: Item
Gets the name of the item

Specified by:
getName in interface Item

setName

public void setName(java.lang.String p_name)

getValue

public java.lang.String getValue()
Description copied from interface: Item
Gets the value of the item

Specified by:
getValue in interface Item

setValue

public void setValue(java.lang.String p_value)

getSectionName

public java.lang.String getSectionName()

setSectionName

public void setSectionName(java.lang.String p_name)