javax.cim
public class CIMProperty<E> extends CIMValuedElement<E>
Parameters:
Constructor Summary | |
---|---|
CIMProperty(String pName, CIMDataType pType, E pValue)
Constructs a CIMProperty to be used in instances. | |
CIMProperty(String pName, CIMDataType pType, E pValue, boolean pKey, boolean pPropagated, String pOriginClass)
Constructs a CIMProperty to be used in instances. |
Method Summary | |
---|---|
String | getOriginClass()
Returns the class in which this property was defined or overridden.
|
boolean | isKey()
Convenience method for determining if this property is a Key.
|
boolean | isPropagated()
Determines if this property is Propagated. |
CIMProperty
to be used in instances. For a
CIMClass
, CIMClassProperty
should be used. This
can only be used for non-Key properties, non-propagated properties and
when the the origin class is not needed.
Parameters: pName
The name of the property. pType
The CIMDataType
of the property. pValue
The value of the property.
CIMProperty
to be used in instances. For a
CIMClass
, CIMClassProperty
should be used.
Parameters: pName
The name of the property. pType
The CIMDataType
of the property. pValue
The value of the property. pKey
true
if the property is a key; otherwise
false
. pPropagated
true
if the value was propagated from the class. pOriginClass
The class in which this property was defined or overridden.
Returns: Name of class where this property was defined.
Returns: true
if this property is a key.
Returns: true
if this property is propagated.