|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectru.onego.industrial.catalog.meta.StringValue
public class StringValue
Default value for all columns. Holds plain String value.
| Constructor Summary | |
|---|---|
StringValue()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object value)
Implements logic of adding data to existing data stored in this Column Value object. |
java.lang.String |
getName()
Returns internal name of the value type. |
java.lang.Object |
getValue()
Returns stored value. |
boolean |
isEmpty()
Tests if this value is empty. |
void |
setValue(java.lang.Object value)
Sets value for this type. |
void |
setValue(java.lang.String value)
Sets string value for this type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringValue()
| Method Detail |
|---|
public java.lang.String getName()
ColumnValue
getName in interface ColumnValue
public void setValue(java.lang.Object value)
throws MetaException
ColumnValue
setValue in interface ColumnValuevalue - Value to set
MetaException - Thrown if value doen't match internal type of datapublic void setValue(java.lang.String value)
ColumnValue
setValue in interface ColumnValuevalue - Value to be setpublic java.lang.Object getValue()
ColumnValue
getValue in interface ColumnValuepublic boolean isEmpty()
ColumnValuetrue is returned.
isEmpty in interface ColumnValuetrue if value is empty
public void add(java.lang.Object value)
throws MetaException
ColumnValue
add in interface ColumnValuevalue - Value to be added.
MetaException - Thrown if value type is not convertable to internal typepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||