|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectru.onego.industrial.catalog.meta.DoubleValue
public class DoubleValue
Type for holding double values.
| Constructor Summary | |
|---|---|
DoubleValue()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.Object value)
Adds given double value to stored one. |
java.lang.String |
getName()
Returns name for this type. |
java.lang.Object |
getValue()
Returns double value. |
boolean |
isEmpty()
Returns true if this value is 0 or less. |
void |
setValue(java.lang.Object value)
Sets value for this type. |
void |
setValue(java.lang.String value)
Sets value for this type. |
java.lang.String |
toString()
String representation of the stored value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleValue()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface ColumnValue
public void setValue(java.lang.Object value)
throws MetaException
Double.
setValue in interface ColumnValuevalue - Value to be set
MetaException - Thrown if value is not convertable to Double
public void setValue(java.lang.String value)
throws MetaException
setValue(new Double(value))
setValue in interface ColumnValuevalue - String value to be set
MetaException - Thrown if value is not convertable to Doublepublic java.lang.Object getValue()
getValue in interface ColumnValueDoublepublic boolean isEmpty()
true if this value is 0 or less.
isEmpty in interface ColumnValue
public void add(java.lang.Object value)
throws MetaException
Double.
add in interface ColumnValuevalue - Value to be added
MetaException - Thrown if value is not convertable to Doublepublic 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 | ||||||||