|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.property.PropEntry
org.xmlBlaster.util.property.PropLong
Base class for the various property data type implementations.
| Field Summary | |
private long |
value
|
private long |
valueDefault
|
| Fields inherited from class org.xmlBlaster.util.property.PropEntry |
CREATED_BY_CMDLINE, CREATED_BY_DEFAULT, CREATED_BY_JVMENV, CREATED_BY_PROPFILE, CREATED_BY_SETTER, creationOrigin, propName, SEP |
| Constructor Summary | |
PropLong(long value)
Constructor for the default value |
|
PropLong(java.lang.String propName,
long value)
|
|
| Method Summary | |
java.lang.Object |
clone()
Returns a shallow clone, you can change safely all basic or immutable types like boolean, String, int. |
long |
getDefaultValue()
|
java.lang.String |
getTypeString()
|
long |
getValue()
|
java.lang.String |
getValueString()
|
static void |
main(java.lang.String[] args)
java org.xmlBlaster.util.property.PropLong |
void |
setDefaultValue(long value)
Overwrite the default value given to the constructor. |
void |
setValue(long value)
Overwrites any default or environment settings. |
void |
setValue(long value,
int creationOrigin)
|
void |
setValue(java.lang.String value,
int creationOrigin)
|
| Methods inherited from class org.xmlBlaster.util.property.PropEntry |
isDefault, isModified, isSet, setCreationOrigin, setFromEnv, setFromEnv, setFromEnv, toString, toXml, toXml |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private long valueDefault
private long value
| Constructor Detail |
public PropLong(long value)
public PropLong(java.lang.String propName,
long value)
| Method Detail |
public final java.lang.String getTypeString()
getTypeString in class PropEntrypublic final java.lang.String getValueString()
getValueString in class PropEntrypublic void setValue(long value)
public void setValue(java.lang.String value,
int creationOrigin)
setValue in class PropEntrycreationOrigin - e.g. PropEntry.CREATED_BY_JVMENV
public void setValue(long value,
int creationOrigin)
creationOrigin - e.g. PropEntry.CREATED_BY_JVMENVpublic long getValue()
public void setDefaultValue(long value)
public long getDefaultValue()
public java.lang.Object clone()
clone in class PropEntrypublic static void main(java.lang.String[] args)
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||