|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifiableElement
org.sblim.wbem.cim.CIMObject
org.sblim.wbem.cim.CIMInstance
Field Summary | |
protected java.lang.String |
iAlias
|
Fields inherited from class org.sblim.wbem.cim.CIMObject |
iAllProperties, iObjectPath |
Fields inherited from class org.sblim.wbem.cim.CIMQualifiableElement |
iQualifiers |
Fields inherited from class org.sblim.wbem.cim.CIMElement |
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET |
Constructor Summary | |
CIMInstance()
Constructs an object of a CIMInstance. |
|
CIMInstance(CIMObjectPath pObjectPath)
Constructs an object of a CIMInstance |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getAlias()
Returns the alias name for the instance |
java.lang.String |
getClassName()
Returns the class name of the instance. |
java.util.Vector |
getKeyValuePairs()
Returns a list of key properties in this CIMInstance. |
java.lang.String |
getName()
Deprecated. instances don't have names. However current implementation provides access to the class name of the instance. |
CIMObjectPath |
getObjectPath()
Gets the CIMObjectsPath for this CIMInstance. |
int |
hashCode()
|
static void |
main(java.lang.String[] args)
|
void |
setAlias(java.lang.String pAliasName)
Specifies the alias for this instance. |
void |
setClassName(java.lang.String pClassname)
Specifies the classname for this CIMInstance. |
void |
setName(java.lang.String pName)
Specifies the name for this CIMInstance. |
void |
setObjectPath(CIMObjectPath pObjectPath)
Specifies the CIMObjectPath for this CIMInstance. |
java.lang.String |
toMOF()
Returns the MOF representation of this CIMInstance. |
java.lang.String |
toString()
|
void |
updateProperty(CIMProperty pProperty)
Updates the specified CIMProperty. |
boolean |
updatePropertyValue(CIMProperty pProperty)
Updates the CIMProperty value. |
void |
updatePropertyValue(java.util.Vector pProperties)
Updates the properties of the current CIMInstance with the vector of CIMProperty objects. |
Methods inherited from class org.sblim.wbem.cim.CIMObject |
addProperty, getAllProperties, getKeys, getProperties, getProperty, getProperty, getProperty, removeProperty, setProperties, setProperty |
Methods inherited from class org.sblim.wbem.cim.CIMQualifiableElement |
addQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiers |
Methods inherited from class org.sblim.wbem.cim.CIMElement |
appendTab, assign, compareTo, lessThan, vectorToMOFString, vectorToMOFString, vectorToMOFString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String iAlias
Constructor Detail |
public CIMInstance()
public CIMInstance(CIMObjectPath pObjectPath)
pObjectPath
- Method Detail |
public java.lang.Object clone()
public boolean equals(java.lang.Object o)
equals
in class CIMElement
public int hashCode()
public java.lang.String getAlias()
public java.lang.String getClassName()
public java.util.Vector getKeyValuePairs()
public java.lang.String getName()
getName
in class CIMElement
public CIMObjectPath getObjectPath()
public void setObjectPath(CIMObjectPath pObjectPath)
setObjectPath
in class CIMObject
pObjectPath
- The object path
java.lang.IllegalArgumentException
- if a null object path is specifiedpublic void setAlias(java.lang.String pAliasName)
pAliasName
- The aliaspublic void setClassName(java.lang.String pClassname)
pClassname
- The class name
java.lang.IllegalArgumentException
- forpublic void setName(java.lang.String pName)
setName
in class CIMElement
pName
- The namepublic java.lang.String toMOF()
public java.lang.String toString()
public void updateProperty(CIMProperty pProperty)
pProperty
- The propertypublic boolean updatePropertyValue(CIMProperty pProperty)
pProperty
- The property
public void updatePropertyValue(java.util.Vector pProperties)
pProperties
- A property vectorpublic static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |