ru.onego.industrial.catalog.meta
Class IDValue

java.lang.Object
  extended by ru.onego.industrial.catalog.meta.IDValue
All Implemented Interfaces:
ColumnValue

public class IDValue
extends java.lang.Object
implements ColumnValue

Column value responsible for holding ID value from interface dialog text field.

Version:
1.0
Author:
Lev Levin

Constructor Summary
IDValue()
           
 
Method Summary
 void add(java.lang.Object value)
          Does nothing.
 java.lang.String getName()
          Returns type name.
 java.lang.Object getValue()
          Returns ID text field value.
 boolean isEmpty()
          This method always returns false.
 void setValue(java.lang.Object value)
          Does noting
 void setValue(java.lang.String value)
          Does noting
 java.lang.String toString()
          Returns ID text field value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDValue

public IDValue()
Method Detail

getName

public java.lang.String getName()
Returns type name.

Specified by:
getName in interface ColumnValue
Returns:
"ID value"

setValue

public void setValue(java.lang.Object value)
              throws MetaException
Does noting

Specified by:
setValue in interface ColumnValue
Parameters:
value - Value which is ignored
Throws:
MetaException - never

setValue

public void setValue(java.lang.String value)
              throws MetaException
Does noting

Specified by:
setValue in interface ColumnValue
Parameters:
value - Value which is ignored
Throws:
MetaException - never

getValue

public java.lang.Object getValue()
Returns ID text field value.

Specified by:
getValue in interface ColumnValue
Returns:
ID value

isEmpty

public boolean isEmpty()
This method always returns false.

Specified by:
isEmpty in interface ColumnValue
Returns:
false

add

public void add(java.lang.Object value)
         throws MetaException
Does nothing.

Specified by:
add in interface ColumnValue
Parameters:
value - Value is ignored
Throws:
MetaException - never

toString

public java.lang.String toString()
Returns ID text field value.

Overrides:
toString in class java.lang.Object
Returns:
ID value