|
||||||||||
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(Object pObj)
|
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. |
CIMQualifier<?>[] |
getQualifiers(boolean pLocalOnly)
getQualifiers - helps filtering based on the propagated flag. |
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. |
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, hashCode, 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(Object pObj)
equals
in class Object
Object.equals(java.lang.Object)
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(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 Object getQualifierValue(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(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(String pName, Object pValue)
CIMQualifiedElementInterface
hasQualifierValue
in interface CIMQualifiedElementInterface
pName
- - the name of the qualifierpValue
- - 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 |