org.ujoframework.extensions
Interface ValueTextable

All Known Subinterfaces:
ValueExportable

public interface ValueTextable

A special interface for a terminology only, an implementation is not reasnonable in the UJO Framework. ValueTextable is every one object, wich have got implemented method toString() so that the result can be used to restore a new equal object by its a single constructor parameter type of String.
This is a "ValueTextable" test for an Integer class:

  Integer textable1 = new Integer(7);
  Integer textable2 = new Integer(textable1.toString());
  boolean result = textable1.equals(textable2);
 

Some completed ValueTextable classes from a Java API are These classes have NOT behaviour of ValueTextable,
however UJO Framework supports these types similar like ValueTextable:

Author:
Pavel Ponec
See Also:
UjoTextable

Method Summary
 java.lang.String toString()
          A result must be acceptable for one constructor parameter (of the same class) to restore an equal object.
 

Method Detail

toString

java.lang.String toString()
A result must be acceptable for one constructor parameter (of the same class) to restore an equal object.

Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.