Class DefinedTypeInstance
java.lang.Object
|
+--DefinedTypeInstance
- All Implemented Interfaces:
- FILisable, java.io.Serializable
- public class DefinedTypeInstance
- extends java.lang.Object
- implements java.io.Serializable, FILisable
The class `DefinedTypeInstance' is used to wrap an instance of a defined
type.
- See Also:
- Serialized Form
|
Constructor Summary |
DefinedTypeInstance(DefinedType type,
java.lang.Object value)
Constructs this defined type instance by plugging in the given
value. |
DefinedTypeInstance(java.lang.String definedTypeName,
java.lang.Object value)
Constructs this defined type instance by plugging in the given
value. |
|
Method Summary |
java.lang.String |
FILise(boolean HTML)
Returns a string representing this defined type instance in FIL. |
DefinedType |
getDefinedType()
Returns the defined type of which this object is an instance. |
java.lang.Object |
getValue()
Returns the value of this defined type instance. |
java.lang.String |
toString()
Returns a string representing this defined type instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefinedTypeInstance
public DefinedTypeInstance(DefinedType type,
java.lang.Object value)
- Constructs this defined type instance by plugging in the given
value.
- Parameters:
type - The defined type of which this is an instance.value - The value of this defined type instance, which must
conform to the underlying type.
DefinedTypeInstance
public DefinedTypeInstance(java.lang.String definedTypeName,
java.lang.Object value)
- Constructs this defined type instance by plugging in the given
value. The defined type is specified by name for convenience.
- Parameters:
definedTypeName - The name of the defined type to be
instantiated.value - The value of this defined type instance, which must
conform to the underlying type.
getDefinedType
public DefinedType getDefinedType()
- Returns the defined type of which this object is an instance.
- Returns:
- The defined type of which this is an instance.
getValue
public java.lang.Object getValue()
- Returns the value of this defined type instance.
- Returns:
- The value of this defined type instance.
toString
public java.lang.String toString()
- Returns a string representing this defined type instance.
- Overrides:
toString in class java.lang.Object
- Returns:
- The string representation of this defined type instance.
FILise
public java.lang.String FILise(boolean HTML)
- Returns a string representing this defined type instance in FIL.
- Specified by:
FILise in interface FILisable
- Parameters:
HTML - If true, the FIL will be augmented with HTML tags.- Returns:
- A string representing the defined type instance in FIL.