Class 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
Fields Modifier and Type Field Description protected Stringdescriptionprotected 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
-
-
Constructor Summary
Constructors Constructor Description CMPAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the value of the description property.List<Description>getDescriptions()Gets the value of the descriptions property.voidsetDescription(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
-
-
-
-
Field Detail
-
descriptions
protected List<Description> descriptions
-
description
protected String description
-
-
Method Detail
-
getDescriptions
public 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 asetmethod 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 listDescription
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
-