javax.cim
public class CIMClassProperty<E> extends CIMProperty<E> implements CIMQualifiedElementInterface
CIMProperty class inherits the
property name from its parent class (
CIMProperty extends CIMQualifiedElement). A CIM Property is
defined by its name, data type and origin class.
Parameters:
| Constructor Summary | |
|---|---|
| CIMClassProperty(String pName, CIMDataType pType, E pValue, CIMQualifier<?>[] pQualifiers, boolean pKey, boolean propagated, String originClass)
This method constructs an instance of CIMClassProperty.
| |
| Method Summary | |
|---|---|
| CIMClassProperty<E> | filter(boolean pIncludeQualifiers, boolean pIncludeClassOrigin)
Returns a CIMClassProperty filtered as specified.
|
| CIMClassProperty<E> | filter(boolean pIncludeQualifiers, boolean pIncludeClassOrigin, boolean pLocalOnly)
Returns a CIMClassProperty filtered as specified.
|
| CIMQualifier<?> | getQualifier(int pIndex)
Get a qualifier by index.
|
| CIMQualifier<?> | getQualifier(String pName)
Gets a qualifier by name.
|
| int | getQualifierCount()
Get the number of qualifiers defined for this property.
|
| CIMQualifier<?>[] | getQualifiers()
Returns the list of qualifiers for this property.
|
| Object | getQualifierValue(String pName) |
| boolean | hasQualifier(String pName)
Checks whether the specified qualifier is one of the qualifiers defined
for this property.
|
| boolean | hasQualifierValue(String pName, Object pValue) |
CIMClassProperty.
Parameters: pName
- The name of the property. pType
- The data type of the property. pValue
- The value of the property. pQualifiers
- The qualifiers for the property. pKey
- true if the property is a key, otherwise
false. propagated
- true if the property was inherited, otherwise
false. originClass
- The original class in which the property was defined.
CIMClassProperty filtered as specified.
Parameters: pIncludeQualifiers
- If true all qualifiers are returned; otherwise
no qualifiers. pIncludeClassOrigin
- If true the class origin is included; otherwise
no class origin is present
Returns: A filtered CIMClassProperty.
Parameters: pIncludeQualifiers If true all qualifiers are returned; otherwise no qualifiers. pIncludeClassOrigin If true the class origin is included; otherwise no class origin is present pLocalOnly If true only the qualifiers that were not propagated will be included.
Returns: CIMClassProperty A filtered CIMClassProperty
Parameters: pIndex - The index of the qualifier to retrieve.
Returns: The Qualifier at the specified index.
Parameters: pName - The name of the qualifier to get.
Returns: The qualifier requested or null if the qualifier
does not exist.
Returns: The number of qualifiers defined for this property.
Returns: Qualifiers for this property.
See Also: CIMQualifiedElementInterface
Parameters: pName - the name of the qualifier.
Returns: true if the qualifier exists in this property,
otherwise false.
See Also: CIMQualifiedElementInterface