com.tivoli.twg.cim
Class aCIMProperty

java.lang.Object
  extended bycom.tivoli.twg.cim.aCIMProperty
Direct Known Subclasses:
CIMProperty

public abstract class aCIMProperty
extends java.lang.Object

This class represents a CIM Class Property. It contains information about a particular class/instance property. This is implemented as an abstract class so that an implementor could provide the wrappings that might be neccessary in a given environment.

See Also:
CIMAccessor

Field Summary
protected  boolean RC
           
 
Constructor Summary
aCIMProperty(java.lang.String NameSpace, java.lang.String PropertyName)
          Construct an instance of aCIMProperty.
 
Method Summary
protected  void finalize()
           
 int GetFlavor()
          Retrieve the flavor defined for this property.
 java.lang.String GetFlavorString()
          Retrieve the flavor defined for this property as a displayable string value.
 java.lang.String GetNameSpace()
          Returns the name space string.
 java.lang.String GetPropertyName()
          Returns the property name string.
 boolean GetRC()
          When this property is used as part of a get/set or method invokation, this is the return status associated with the action.
 int GetType()
          Retrieve the Type defined for this property.
 java.lang.String GetTypeString()
          Retrieve the Type defined for this property as a displayable string value.
 java.lang.Object[] GetValueArray()
          Retrieve the Value array as one monolithic block.
 int GetValueArraySize()
          Retrieve the number of value elements present for this property
 java.lang.Object GetValueElement(int x)
          Retrieve a single element of the value array by offset.
 java.lang.String GetValueElementAsString(int x)
          Retrieve an element of the value array as a displayable string
protected  void SetFlavor(int Flavor)
           
protected  void SetType(int Type)
           
 void SetValue(java.lang.Object[] Value)
          Used to set the value associated with this property.
 java.lang.String toString()
          To aid with debugging, this method will return the contents of this property as a displayable string.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RC

protected boolean RC
Constructor Detail

aCIMProperty

public aCIMProperty(java.lang.String NameSpace,
                    java.lang.String PropertyName)
Construct an instance of aCIMProperty.

Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

GetPropertyName

public java.lang.String GetPropertyName()
Returns the property name string.

Returns:
String - Property name

GetNameSpace

public java.lang.String GetNameSpace()
Returns the name space string.

Returns:
String NameSpace

GetRC

public boolean GetRC()
When this property is used as part of a get/set or method invokation, this is the return status associated with the action. For example, it is initialized to false by the Accessor interface when issuing a get or set. When the operation completes it will either remain false to indicate that the operation on this particular property was not completed, or it will be set to true to indicate that if had been completed.

Returns:
boolean

SetFlavor

protected void SetFlavor(int Flavor)

SetType

protected void SetType(int Type)

SetValue

public void SetValue(java.lang.Object[] Value)
Used to set the value associated with this property. NOTE: that all property values are treated as arrays.


GetFlavor

public int GetFlavor()
Retrieve the flavor defined for this property.

Returns:
int
See Also:
aCIMQualifier

GetFlavorString

public java.lang.String GetFlavorString()
Retrieve the flavor defined for this property as a displayable string value.

Returns:
String
See Also:
aCIMQualifier

GetType

public int GetType()
Retrieve the Type defined for this property.

Returns:
int
See Also:
aCIMQualifier

GetTypeString

public java.lang.String GetTypeString()
Retrieve the Type defined for this property as a displayable string value.

Returns:
String
See Also:
aCIMQualifier

GetValueArray

public java.lang.Object[] GetValueArray()
Retrieve the Value array as one monolithic block.

Returns:
Object[]

GetValueElement

public java.lang.Object GetValueElement(int x)
Retrieve a single element of the value array by offset.

Returns:
Object

GetValueArraySize

public int GetValueArraySize()
Retrieve the number of value elements present for this property

Returns:
int Count

GetValueElementAsString

public java.lang.String GetValueElementAsString(int x)
Retrieve an element of the value array as a displayable string

Returns:
String

toString

public java.lang.String toString()
To aid with debugging, this method will return the contents of this property as a displayable string.

Returns:
String