javax.cim
public interface CIMQualifiedElementInterface
Modifier and Type | Method and Description |
---|---|
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.
|
CIMQualifier<?> getQualifier(int pIndex)
pIndex
- - The index of the qualifier.pIndex
.CIMQualifier<?> getQualifier(String pName)
pName
- - The name of the qualifier to get.null
if the qualifier does not exist, otherwise
returns the reference to the qualifier.int getQualifierCount()
CIMQualifier<?>[] getQualifiers()
Object getQualifierValue(String pName)
pName
- - The name of the qualifier to get.null
if the qualifier does not exist or value is
null
, otherwise returns the reference to the
qualifier.boolean hasQualifier(String pName)
pName
- - the name of the qualifiertrue
if the qualifier exists in this CIM element,
otherwise false
.boolean hasQualifierValue(String pName, Object pValue)
pName
- - the name of the qualifierpValue
- - the value to be testedtrue
if the qualifier exists and has the value,
otherwise false
.Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.