org.dmtf.schemas.wbem.wsman._1.wsman
Class OptionType

java.lang.Object
  extended by org.dmtf.schemas.wbem.wsman._1.wsman.OptionType

public class OptionType
extends java.lang.Object

Java class for OptionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="OptionType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="MustComply" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </simpleContent>
 </complexType>
 


Constructor Summary
OptionType()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 javax.xml.namespace.QName getType()
          Gets the value of the type property.
 java.lang.String getValue()
          Gets the value of the value property.
 boolean isMustComply()
          Gets the value of the mustComply property.
 void setMustComply(java.lang.Boolean value)
          Sets the value of the mustComply property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setType(javax.xml.namespace.QName value)
          Sets the value of the type property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionType

public OptionType()
Method Detail

getValue

public java.lang.String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(java.lang.String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isMustComply

public boolean isMustComply()
Gets the value of the mustComply property.

Returns:
possible object is Boolean

setMustComply

public void setMustComply(java.lang.Boolean value)
Sets the value of the mustComply property.

Parameters:
value - allowed object is Boolean

getType

public javax.xml.namespace.QName getType()
Gets the value of the type property.

Returns:
possible object is QName

setType

public void setType(javax.xml.namespace.QName value)
Sets the value of the type property.

Parameters:
value - allowed object is QName

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null