|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.util.IstiNamedValue com.isti.util.PropItem
Class PropItem defines a property item object.
Field Summary | |
protected java.lang.Object |
auxiliaryObj
|
protected java.lang.Object |
groupSelObj
|
protected CfgPropValidator |
validatorObj
|
Fields inherited from interface com.isti.util.IstiNamedValueInterface |
sepCh |
Constructor Summary | |
PropItem(java.lang.String valueName,
java.lang.Object defaultValueObj)
Creates a value. |
|
PropItem(java.lang.String valueName,
java.lang.Object defaultValueObj,
java.lang.Object valueObj,
java.lang.String descriptionStr)
Creates a value. |
|
PropItem(java.lang.String valueName,
java.lang.Object defaultValueObj,
java.lang.String descriptionStr)
Creates a value. |
Method Summary | |
protected java.lang.Object |
checkValue(java.lang.Object valueObj)
Checks the value object. |
java.lang.Object |
clone()
Creates and returns a clone of this object. |
java.lang.Object |
getAuxiliaryObj()
Returns the "auxiliary" object for this value. |
java.lang.String |
getDescriptionStr()
Returns the description string. |
java.lang.Object |
getGroupSelObj()
Returns the group-select object for this item. |
CfgPropValidator |
getValidator()
Gets the validator object for this item. |
PropItem |
setAuxiliaryObj(java.lang.Object obj)
Sets the "auxiliary" object for this item. |
PropItem |
setGroupSelObj(java.lang.Object obj)
Sets the group-select object for this item. |
PropItem |
setValidator(CfgPropValidator validatorObj)
Sets the validator for this item. |
static boolean |
validateValue(CfgPropValidator validatorObj,
java.lang.Object valueObj)
Checks that the given object is a valid data value using the specified validator. |
Methods inherited from class com.isti.util.IstiNamedValue |
determineStringValue, getDefaultValue, getName, getValue, isDefaultValue, setValue, setValueString, setValueString, stringValue, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.isti.util.IstiNamedValueInterface |
getDefaultValue, getName, getValue, isDefaultValue, setValue, setValueString, stringValue |
Field Detail |
protected java.lang.Object auxiliaryObj
protected java.lang.Object groupSelObj
protected CfgPropValidator validatorObj
Constructor Detail |
public PropItem(java.lang.String valueName, java.lang.Object defaultValueObj)
valueName
- the value name.defaultValueObj
- the default value object.public PropItem(java.lang.String valueName, java.lang.Object defaultValueObj, java.lang.String descriptionStr)
valueName
- the value name.defaultValueObj
- the default value object.descriptionStr
- the description text or null for the default.public PropItem(java.lang.String valueName, java.lang.Object defaultValueObj, java.lang.Object valueObj, java.lang.String descriptionStr)
valueName
- the value name.defaultValueObj
- the default value object.valueObj
- the value object or null for the default.descriptionStr
- the description text or null for the default.Method Detail |
public java.lang.Object clone()
clone
in interface IstiNamedValueInterface
clone
in class IstiNamedValue
public java.lang.Object getAuxiliaryObj()
getAuxiliaryObj
in interface PropItemInterface
public java.lang.String getDescriptionStr()
getDescriptionStr
in interface PropItemInterface
public java.lang.Object getGroupSelObj()
getGroupSelObj
in interface PropItemInterface
public CfgPropValidator getValidator()
getValidator
in interface PropItemInterface
public PropItem setAuxiliaryObj(java.lang.Object obj)
obj
- the value of the object.
public PropItem setGroupSelObj(java.lang.Object obj)
obj
- the group-select object to use.
public PropItem setValidator(CfgPropValidator validatorObj)
validatorObj
- a 'CfgPropValidator' object.
public static boolean validateValue(CfgPropValidator validatorObj, java.lang.Object valueObj)
validatorObj
- a 'CfgPropValidator' object.valueObj
- the value of the object.
protected java.lang.Object checkValue(java.lang.Object valueObj)
checkValue
in class IstiNamedValue
valueObj
- the value object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |