|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.cuni.mff.mirovsky.properties.PropertiesSection
public class PropertiesSection
Class PropertiesSection keeps a set of related properties.
| Constructor Summary | |
|---|---|
PropertiesSection()
|
|
PropertiesSection(java.lang.String p_name)
|
|
PropertiesSection(java.lang.String p_name,
java.lang.String p_comment)
|
|
| Method Summary | |
|---|---|
PropertiesSection |
getClone()
|
java.lang.String |
getComment()
Gets the comment of the item |
java.lang.String |
getItemComment(java.lang.String item_name)
|
java.lang.String |
getItemValue(java.lang.String item_name)
|
java.util.Iterator |
getIteratorOverNames()
|
java.util.Iterator |
getIteratorOverValues()
|
java.lang.String |
getName()
Gets the name of the item |
Property |
getProperty(java.lang.String name)
|
java.lang.String |
getValue()
Gets the value of the item |
boolean |
isEmpty()
|
void |
removeItem(java.lang.String item_name)
|
void |
removeProperty(java.lang.String property_name)
|
void |
setComment(java.lang.String p_comment)
|
void |
setName(java.lang.String p_name)
|
void |
setProperty(Property property)
|
void |
setPropertyValue(java.lang.String property_name,
java.lang.String property_value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesSection()
public PropertiesSection(java.lang.String p_name)
public PropertiesSection(java.lang.String p_name,
java.lang.String p_comment)
| Method Detail |
|---|
public PropertiesSection getClone()
public java.util.Iterator getIteratorOverNames()
getIteratorOverNames in interface ItemSetpublic java.util.Iterator getIteratorOverValues()
getIteratorOverValues in interface ItemSetpublic boolean isEmpty()
public java.lang.String getComment()
Item
getComment in interface Itempublic void setComment(java.lang.String p_comment)
public java.lang.String getName()
Item
getName in interface Itempublic void setName(java.lang.String p_name)
public Property getProperty(java.lang.String name)
public void setProperty(Property property)
public void setPropertyValue(java.lang.String property_name,
java.lang.String property_value)
public void removeProperty(java.lang.String property_name)
public java.lang.String getValue()
Item
getValue in interface Itempublic java.lang.String getItemValue(java.lang.String item_name)
getItemValue in interface ItemSetpublic java.lang.String getItemComment(java.lang.String item_name)
getItemComment in interface ItemSetpublic void removeItem(java.lang.String item_name)
removeItem in interface ItemSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||