org.fusesource.amqp.generator.jaxb
Class Descriptor

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

public class Descriptor
extends java.lang.Object


Field Summary
protected  java.lang.String code
           
protected  java.util.List<Doc> doc
           
protected  java.lang.String name
           
 
Constructor Summary
Descriptor()
           
 
Method Summary
 java.lang.String getCode()
          Gets the value of the code property.
 java.util.List<Doc> getDoc()
          Gets the value of the doc property.
 java.lang.String getName()
          Gets the value of the name property.
 void setCode(java.lang.String value)
          Sets the value of the code property.
 void setName(java.lang.String value)
          Sets the value of the name 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

code

protected java.lang.String code

doc

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

Descriptor

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

getCode

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

Returns:
possible object is String

setCode

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