|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jlf.dataMap.DataAttribute
|
+--org.jlf.dataMap.StringAttribute
This class is used as the base of all attributes in the data mapping framework
DataAttribute,
DataAttributeDescriptor,
Serialized Form| Field Summary |
| Fields inherited from class org.jlf.dataMap.DataAttribute |
hasChanged, name, originalValue, value |
| Constructor Summary | |
StringAttribute()
Default constructor. |
|
StringAttribute(java.lang.String name)
Normal attribute constructor. |
|
| Method Summary | |
void |
basicSetValue(java.lang.Object newValue)
Override for String-specific behavior. |
void |
basicSetValue(java.lang.String newValue)
Main setter for string values to ensure the string is not too long if a maximum length was specified. |
int |
getMaximumStringLength()
Retrieves the maximum length allowed for the string. |
void |
setMaximumStringLength(int maximumStringLength)
Sets the maximum length allowed for the string. |
| Methods inherited from class org.jlf.dataMap.DataAttribute |
getDoubleValue, getLongValue, getName, getOriginalValue, getStringValue, getValue, hasChanged, resetAndSetValue, resetHasChanged, setName, setValue, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringAttribute()
public StringAttribute(java.lang.String name)
| Method Detail |
public int getMaximumStringLength()
public void setMaximumStringLength(int maximumStringLength)
public void basicSetValue(java.lang.Object newValue)
basicSetValue in class DataAttributepublic void basicSetValue(java.lang.String newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||