OpenCOM
Class TypedAttribute

java.lang.Object
  extended by OpenCOM.TypedAttribute

public class TypedAttribute
extends java.lang.Object

TypedAttribute stores a Java object representing an attribute value with its explicit type information. It can be reused across name-value pair implementations. However, it is fundamental in the implementation of the OpenCOM IMetaInterface meta-model.


Field Summary
 java.lang.String Type
           
 java.lang.Object Value
           
 
Constructor Summary
TypedAttribute(java.lang.String type, java.lang.Object value)
          Constructor creates a new instance of TypedAttribute.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Type

public java.lang.String Type

Value

public java.lang.Object Value
Constructor Detail

TypedAttribute

public TypedAttribute(java.lang.String type,
                      java.lang.Object value)
Constructor creates a new instance of TypedAttribute.

Parameters:
type - The String description of the Java class of the attribute object.
value - The Java object representing the value of the attribute.