org.fusesource.amqp.generator.jaxb
Class Definition

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

public class Definition
extends java.lang.Object


Field Summary
protected  java.util.List<Doc> doc
           
protected  java.lang.String label
           
protected  java.lang.String name
           
protected  java.lang.String value
           
 
Constructor Summary
Definition()
           
 
Method Summary
 java.util.List<Doc> getDoc()
          Gets the value of the doc property.
 java.lang.String getLabel()
          Gets the value of the label property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getValue()
          Gets the value of the value property.
 void setLabel(java.lang.String value)
          Sets the value of the label 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

label

protected java.lang.String label

doc

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

Definition

public Definition()
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

getLabel

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

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label 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.