OpenCOM
Class TypedAttribute
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Type
public java.lang.String Type
Value
public java.lang.Object Value
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.