org.sblim.wbem.cim
Class CIMElement
java.lang.Object
org.sblim.wbem.cim.CIMElement
- Comparable, Serializable
public class CIMElement
extends java.lang.Object
implements Serializable, Comparable
CIMElement.java
(C) Copyright IBM Corp. 2005
THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Common Public License from
http://www.opensource.org/licenses/cpl1.0.php
CLOSING_BRAKET
protected static final String[] CLOSING_BRAKET
EMPTY
protected static final String EMPTY
OPENING_BRAKET
protected static final String[] OPENING_BRAKET
iName
protected String iName
CIMElement
public CIMElement()
Default ctor.
CIMElement
public CIMElement(String pName)
Constructs a CIMElement with a given name
CIMElement
public CIMElement(CIMElement pCimElement)
Constructs a CIMElement with the name from a given CIMElement
pCimElement
- The CIMElement
appendTab
protected static void appendTab(StringBuffer pBuffer,
int pSpacesPerTab)
compareTo
public int compareTo(Object o)
equals
public boolean equals(Object obj)
getName
public String getName()
Gets the name for this CIMElement.
lessThan
public boolean lessThan(CIMElement pElement)
Compares this object with the specified CIMElement.
pElement
- The element to compare with
- true if string comparison of this object's name is less the
specified CIMElement's name .
setName
public void setName(String pName)
Specifies the name for this CIMElement.
vectorToMOFString
protected static String vectorToMOFString(Vector pVector)
vectorToMOFString
protected static String vectorToMOFString(Vector pVector,
boolean pLineFeed,
int pSpacesPerTab)
vectorToMOFString
protected static String vectorToMOFString(Vector pVector,
boolean pLineFeed,
int pSpacesPerTab,
int pBraketType,
boolean pUseCommas)
Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.