org.sblim.wbem.cim
public class CIMInstance extends CIMObject implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
iAlias |
iAllProperties, iObjectPathiQualifiersCLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET| Constructor and Description |
|---|
CIMInstance()
Constructs an object of a CIMInstance.
|
CIMInstance(CIMObjectPath pObjectPath)
Constructs an object of a CIMInstance
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addProperty, getAllProperties, getKeys, getProperties, getProperty, getProperty, getProperty, removeProperty, setProperties, setPropertyaddQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiersappendTab, assign, compareTo, lessThan, vectorToMOFString, vectorToMOFString, vectorToMOFStringpublic CIMInstance()
public CIMInstance(CIMObjectPath pObjectPath)
pObjectPath - public java.lang.Object clone()
clone in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class CIMElementpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getAlias()
public java.lang.String getClassName()
public java.util.Vector getKeyValuePairs()
public java.lang.String getName()
getName in class CIMElementpublic CIMObjectPath getObjectPath()
public void setObjectPath(CIMObjectPath pObjectPath)
setObjectPath in class CIMObjectpObjectPath - The object pathjava.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 namejava.lang.IllegalArgumentException - forpublic void setName(java.lang.String pName)
setName in class CIMElementpName - The namepublic java.lang.String toMOF()
public java.lang.String toString()
toString in class java.lang.Objectpublic void updateProperty(CIMProperty pProperty)
pProperty - The propertypublic boolean updatePropertyValue(CIMProperty pProperty)
pProperty - The propertypublic void updatePropertyValue(java.util.Vector pProperties)
pProperties - A property vectorpublic static void main(java.lang.String[] args)
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.