javax.cim
public interface CIMQualifiedElementInterface
CIMQualifiedElementInterface
is used by CIM Elements that
have qualifiers. For example, CIM Classes, CIM Properties, CIM Methods and
CIM Parameters are all CIM Elements that have qualifiers.
Method Summary | |
---|---|
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 CIM Element.
|
CIMQualifier<?>[] | getQualifiers()
Returns the list of qualifiers for this class.
|
Object | getQualifierValue(String pName)
Gets a qualifier value by name.
|
boolean | hasQualifier(String pName)
Checks whether the specified qualifier is one of the qualifiers in this
CIM element.
|
boolean | hasQualifierValue(String pName, Object pValue)
Checks whether the specified qualifier is one of the qualifiers defined
for this property with the specified value. |
Parameters: pIndex The index of the qualifier.
Returns: The Qualifier at index pIndex
.
Parameters: pName The name of the qualifier to get.
Returns: null
if the qualifier does not exist, otherwise
returns the reference to the qualifier.
Returns: The number of qualifiers.
Returns: Qualifiers for this class.
Parameters: pName The name of the qualifier to get.
Returns: null
if the qualifier does not exist or value is
null
, otherwise returns the reference to the
qualifier.
Parameters: pName The name of the qualifier.
Returns: true
if the qualifier exists in this CIM element,
otherwise false
.
false
if the qualifier is not applied or if the value does
not match.
Parameters: pName The name of the qualifier. pValue The value to be tested.
Returns: true
if the qualifier exists and has the value,
otherwise false
.