|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.cim.CIMQualifiedElementInterfaceImpl
public class CIMQualifiedElementInterfaceImpl
Class CIMQualifiedElementInterfaceImpl is responsible for implementing the functionality of javax.cim.CIMQualifiedElementInterface
Constructor Summary | |
---|---|
CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers)
Ctor. |
|
CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers,
boolean pIsKeyed)
Ctor. |
|
CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers,
boolean pIsKeyed,
boolean pKeepEmbObj)
Ctor. |
|
CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers,
boolean pIsKeyed,
boolean pKeepEmbObj,
boolean pIsAssociation)
Ctor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object pObj)
|
CIMQualifier<?> |
getQualifier(int pIndex)
Get a qualifier by index. |
CIMQualifier<?> |
getQualifier(java.lang.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. |
CIMQualifier<?>[] |
getQualifiers(boolean pLocalOnly)
getQualifiers - helps filtering based on the propagated flag. |
java.lang.Object |
getQualifierValue(java.lang.String pName)
Gets a qualifier value by name. |
int |
hashCode()
|
boolean |
hasQualifier(java.lang.String pName)
Checks whether the specified qualifier is one of the qualifiers in this CIM element. |
boolean |
hasQualifierValue(java.lang.String pName,
java.lang.Object pValue)
Checks whether the specified qualifier is one of the qualifiers defined for this property with the specified value. |
boolean |
isEmbeddedObject()
Returns true if the "EmbeddedObject" qualifier with true value presents. |
boolean |
isKeyed()
Returns true if the "key" Qualifier with true value presents. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers)
pQualifiers
- public CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers, boolean pIsKeyed)
pQualifiers
- pIsKeyed
- public CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers, boolean pIsKeyed, boolean pKeepEmbObj)
pQualifiers
- pIsKeyed
- pKeepEmbObj
- public CIMQualifiedElementInterfaceImpl(CIMQualifier<?>[] pQualifiers, boolean pIsKeyed, boolean pKeepEmbObj, boolean pIsAssociation)
pQualifiers
- pIsKeyed
- pKeepEmbObj
- pIsAssociation
- Method Detail |
---|
public boolean equals(java.lang.Object pObj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean isKeyed()
public boolean isEmbeddedObject()
public CIMQualifier<?> getQualifier(int pIndex)
CIMQualifiedElementInterface
getQualifier
in interface CIMQualifiedElementInterface
pIndex
- The index of the qualifier.
pIndex
.CIMQualifiedElementInterface.getQualifier(int)
public CIMQualifier<?> getQualifier(java.lang.String pName)
CIMQualifiedElementInterface
getQualifier
in interface CIMQualifiedElementInterface
pName
- The name of the qualifier to get.
null
if the qualifier does not exist, otherwise
returns the reference to the qualifier.CIMQualifiedElementInterface.getQualifier(java.lang.String)
public int getQualifierCount()
CIMQualifiedElementInterface
getQualifierCount
in interface CIMQualifiedElementInterface
CIMQualifiedElementInterface.getQualifierCount()
public java.lang.Object getQualifierValue(java.lang.String pName)
CIMQualifiedElementInterface
getQualifierValue
in interface CIMQualifiedElementInterface
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.CIMQualifiedElementInterface.getQualifierValue(java.lang.String)
public CIMQualifier<?>[] getQualifiers()
CIMQualifiedElementInterface
getQualifiers
in interface CIMQualifiedElementInterface
CIMQualifiedElementInterface.getQualifiers()
public CIMQualifier<?>[] getQualifiers(boolean pLocalOnly)
pLocalOnly
-
public boolean hasQualifier(java.lang.String pName)
CIMQualifiedElementInterface
hasQualifier
in interface CIMQualifiedElementInterface
pName
- The name of the qualifier.
true
if the qualifier exists in this CIM element,
otherwise false
.CIMQualifiedElementInterface.hasQualifier(java.lang.String)
public boolean hasQualifierValue(java.lang.String pName, java.lang.Object pValue)
CIMQualifiedElementInterface
false
if the qualifier is not applied or if the value does
not match.
hasQualifierValue
in interface CIMQualifiedElementInterface
pName
- The name of the qualifier.pValue
- The value to be tested.
true
if the qualifier exists and has the value,
otherwise false
.CIMQualifiedElementInterface.hasQualifierValue(java.lang.String,
java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |