org.apache.openejb.jee.was.v6.ejb
Class CMPAttribute

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.ecore.EObject
      extended by org.apache.openejb.jee.was.v6.ecore.EModelElement
          extended by org.apache.openejb.jee.was.v6.ecore.ENamedElement
              extended by org.apache.openejb.jee.was.v6.ecore.ETypedElement
                  extended by org.apache.openejb.jee.was.v6.ecore.EStructuralFeature
                      extended by org.apache.openejb.jee.was.v6.ecore.EAttribute
                          extended by org.apache.openejb.jee.was.v6.ejb.CMPAttribute
Direct Known Subclasses:
CMRField

public class CMPAttribute
extends EAttribute

Describes a container-managed field. The field element includes an optional description of the field, and the name of the field.

Java class for CMPAttribute complex type.

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

 <complexType name="CMPAttribute">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}EAttribute">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="descriptions" type="{common.xmi}Description"/>
       </choice>
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String description
           
protected  java.util.List<Description> descriptions
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EAttribute
id
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EStructuralFeature
changeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettable
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ETypedElement
eClassifierETypes, eType, lowerBound, ordered, unique, upperBound
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
name
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
eAnnotations
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
extensions, href, idref, label, type, uuid, version
 
Constructor Summary
CMPAttribute()
           
 
Method Summary
 java.lang.String getDescription()
          Gets the value of the description property.
 java.util.List<Description> getDescriptions()
          Gets the value of the descriptions property.
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EAttribute
isID, setID
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EStructuralFeature
getDefaultValueLiteral, isChangeable, isDerived, isIsTransient, isIsVolatile, isUnsettable, setChangeable, setDefaultValueLiteral, setDerived, setIsTransient, setIsVolatile, setUnsettable
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ETypedElement
getEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
getEAnnotations
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
getExtensions, getHref, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptions

protected java.util.List<Description> descriptions

description

protected java.lang.String description
Constructor Detail

CMPAttribute

public CMPAttribute()
Method Detail

getDescriptions

public java.util.List<Description> getDescriptions()
Gets the value of the descriptions 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 descriptions property.

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

 getDescriptions().add(newItem);
 

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


getDescription

public java.lang.String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(java.lang.String value)
Sets the value of the description property.

Parameters:
value - allowed object is String


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