org.apache.openejb.jee.wls
Class FieldGroup

java.lang.Object
  extended by org.apache.openejb.jee.wls.FieldGroup

public class FieldGroup
extends Object

Java class for field-group complex type.

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

 <complexType name="field-group">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="group-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <choice maxOccurs="unbounded">
           <element name="cmp-field" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="cmr-field" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<javax.xml.bind.JAXBElement<String>> cmpFieldOrCmrField
           
protected  String groupName
           
protected  String id
           
 
Constructor Summary
FieldGroup()
           
 
Method Summary
 List<javax.xml.bind.JAXBElement<String>> getCmpFieldOrCmrField()
          Gets the value of the cmpFieldOrCmrField property.
 String getGroupName()
          Gets the value of the groupName property.
 String getId()
          Gets the value of the id property.
 void setGroupName(String value)
          Sets the value of the groupName property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupName

protected String groupName

cmpFieldOrCmrField

protected List<javax.xml.bind.JAXBElement<String>> cmpFieldOrCmrField

id

protected String id
Constructor Detail

FieldGroup

public FieldGroup()
Method Detail

getGroupName

public String getGroupName()
Gets the value of the groupName property.

Returns:
possible object is String

setGroupName

public void setGroupName(String value)
Sets the value of the groupName property.

Parameters:
value - allowed object is String

getCmpFieldOrCmrField

public List<javax.xml.bind.JAXBElement<String>> getCmpFieldOrCmrField()
Gets the value of the cmpFieldOrCmrField 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 cmpFieldOrCmrField property.

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

    getCmpFieldOrCmrField().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<String>


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.