org.sblim.wbem.cim
Class CIMQualifierType
- Cloneable, Comparable, Serializable
public class CIMQualifierType
implements Cloneable, Comparable, Serializable
CIMQualifierType.java
(C) Copyright IBM Corp. 2005, 2006
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
void | addFlavor(CIMFlavor pFlavor) - Adds the specified CIMFlavor to this CIMQualifierType object
|
void | addScope(CIMScope pScope) - Adds the specified CIMScope to this CIMQualifierType object
|
Object | clone()
|
int | compareTo(Object o)
|
boolean | equals(Object o)
|
CIMValue | getDefaultValue() - Gets the default for this CIMQualifierType.
|
Vector | getFlavor() - Returns a Vector containing all the CIMFlavors assigned to this
CIMQualifierType.
|
Vector | getScope() - Returns a Vector containing all the CIMScope assigned to this
CIMQualifierType.
|
CIMDataType | getType() - Returns a CIMDataType associated to this CIMQualifierType.
|
boolean | hasDefaultValue() - Determines if this CIMQualifierType has a default value associated with
it.
|
boolean | hasFlavor(CIMFlavor pFlavor) - Determines if this CIMQualifierType has a CIMFlavor value associated with
it.
|
boolean | hasScope(CIMScope pScope) - Determines if this CIMQualifierType has a CIMScope value associated with
it.
|
int | hashCode()
|
boolean | isArrayValue() - Determines if this CIMQualifierType's type is an array.
|
void | setDefaultValue(CIMValue pValue) - Assigns the default value for this CIMDataType.
|
void | setType(CIMDataType pType) - Set the value type of this qualifier
|
String | toMOF() - Returns the MOF representation of this object.
|
String | toString()
|
CIMQualifierType
public CIMQualifierType()
Default ctor.
CIMQualifierType
public CIMQualifierType(String pName)
Constructs a names qualifier.
addFlavor
public void addFlavor(CIMFlavor pFlavor)
Adds the specified CIMFlavor to this CIMQualifierType object
addScope
public void addScope(CIMScope pScope)
Adds the specified CIMScope to this CIMQualifierType object
clone
public Object clone()
getDefaultValue
public CIMValue getDefaultValue()
Gets the default for this CIMQualifierType.
getFlavor
public Vector getFlavor()
Returns a Vector containing all the CIMFlavors assigned to this
CIMQualifierType.
getScope
public Vector getScope()
Returns a Vector containing all the CIMScope assigned to this
CIMQualifierType.
getType
public CIMDataType getType()
Returns a CIMDataType associated to this CIMQualifierType.
hasDefaultValue
public boolean hasDefaultValue()
Determines if this CIMQualifierType has a default value associated with
it.
hasFlavor
public boolean hasFlavor(CIMFlavor pFlavor)
Determines if this CIMQualifierType has a CIMFlavor value associated with
it.
true
if the given flavor is part of this qualifier
type
hasScope
public boolean hasScope(CIMScope pScope)
Determines if this CIMQualifierType has a CIMScope value associated with
it.
true
if the given scope is part of this qualifier
type
hashCode
public int hashCode()
isArrayValue
public boolean isArrayValue()
Determines if this CIMQualifierType's type is an array.
true
if this qualifier's value is an array
setDefaultValue
public void setDefaultValue(CIMValue pValue)
Assigns the default value for this CIMDataType.
pValue
- The default value
setType
public void setType(CIMDataType pType)
Set the value type of this qualifier
toMOF
public String toMOF()
Returns the MOF representation of this object.
toString
public String toString()
Copyright © 2005, 2007 IBM Corporation. All Rights Reserved.