org.fusesource.amqp.generator.jaxb
Class Choice

java.lang.Object
  extended by org.fusesource.amqp.generator.jaxb.Choice

public class Choice
extends java.lang.Object


Field Summary
protected  java.util.List<Doc> doc
           
protected  java.lang.String name
           
protected  java.lang.String value
           
 
Constructor Summary
Choice()
           
 
Method Summary
 java.util.List<Doc> getDoc()
          Gets the value of the doc property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getValue()
          Gets the value of the value property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setValue(java.lang.String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

value

protected java.lang.String value

doc

protected java.util.List<Doc> doc
Constructor Detail

Choice

public Choice()
Method Detail

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

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

getDoc

public java.util.List<Doc> getDoc()
Gets the value of the doc property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the doc property.

For example, to add a new item, do as follows:

    getDoc().add(newItem);
 

Objects of the following type(s) are allowed in the list Doc



Copyright © 2012 FuseSource. All Rights Reserved.