|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.properties.KiemProperty
public class KiemProperty
The Class KiemProperty. This is the basic serializable KiemProperty implementation which can hold a key value pair of types String and also a KiemPropertyType. The contents of the KiemProperty can be saved and loaded but the KiemPropertyType is recovered by its identifier.
Constructor Summary | |
---|---|
KiemProperty(String keyParam)
Instantiates a new String KiemProperty with empty default value. |
|
KiemProperty(String keyParam,
boolean valueParam)
Instantiates a new boolean KiemProperty with given default value. |
|
KiemProperty(String keyParam,
int valueParam)
Instantiates a new int KiemProperty with given default value. |
|
KiemProperty(String keyParam,
KiemPropertyType typeParam)
Instantiates a new KiemProperty of given type with empty default value. |
|
KiemProperty(String keyParam,
KiemPropertyType typeParam,
int valueParam)
Instantiates a new KiemProperty of given type with given default value. |
|
KiemProperty(String keyParam,
KiemPropertyType typeParam,
String valueParam)
Instantiates a new String KiemProperty, with given default value. |
|
KiemProperty(String keyParam,
String valueParam)
Instantiates a new String KiemProperty with given default value. |
Method Summary | |
---|---|
String |
getDirectory()
Gets the directory as a String. |
String |
getFilePath()
Gets the file path as a String. |
String |
getKey()
Gets the key of the KiemProperty. |
KiemPropertyType |
getType()
Gets the type of the KiemProperty. |
String |
getValue()
Gets the value of the KiempProperty. |
boolean |
getValueAsBoolean()
Gets the value as boolean value. |
int |
getValueAsInt()
Gets the value as an integer value. |
void |
setType(KiemPropertyType typeParam)
Sets the KIEM property type. |
void |
setValue(String valueParam)
Sets the value of the KiemPorperty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KiemProperty(String keyParam, KiemPropertyType typeParam, String valueParam)
keyParam
- the key of this propertytypeParam
- the type of this propertyvalueParam
- the value of this propertypublic KiemProperty(String keyParam, KiemPropertyType typeParam, int valueParam)
keyParam
- the key of this propertytypeParam
- the type of this propertyvalueParam
- the value of this propertypublic KiemProperty(String keyParam, KiemPropertyType typeParam)
keyParam
- the key of this propertytypeParam
- the type of this propertypublic KiemProperty(String keyParam)
keyParam
- the key of this propertypublic KiemProperty(String keyParam, String valueParam)
keyParam
- the key of this propertyvalueParam
- the value of this propertypublic KiemProperty(String keyParam, int valueParam)
keyParam
- the key of this propertyvalueParam
- the value of this propertypublic KiemProperty(String keyParam, boolean valueParam)
keyParam
- the key of this propertyvalueParam
- the value of this propertyMethod Detail |
---|
public String getKey()
public String getValue()
public final boolean getValueAsBoolean()
public final int getValueAsInt()
public KiemPropertyType getType()
public void setType(KiemPropertyType typeParam)
typeParam
- the new property typepublic void setValue(String valueParam)
valueParam
- the new String property valuepublic String getFilePath()
public String getDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |