com.eu.miscedautils.ipxact.BusDefinition
Class Choices.Choice

java.lang.Object
  extended by com.eu.miscedautils.ipxact.BusDefinition.Choices.Choice
Enclosing class:
Choices

public static class Choices.Choice
extends java.lang.Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}Name"/>
         <element name="enumeration" maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="help" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Choices.Choice.Enumeration
          Java class for anonymous complex type.
 
Constructor Summary
Choices.Choice()
           
 
Method Summary
 java.util.List<Choices.Choice.Enumeration> getEnumeration()
          Gets the value of the enumeration property.
 java.lang.String getName()
          Gets the value of the name property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Choices.Choice

public Choices.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

getEnumeration

public java.util.List<Choices.Choice.Enumeration> getEnumeration()
Gets the value of the enumeration 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 enumeration property.

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

    getEnumeration().add(newItem);
 

Objects of the following type(s) are allowed in the list Choices.Choice.Enumeration