org.eclipse.modisco.jee.ejbjar.EjbJar21
Interface CmpFieldType


public interface CmpFieldType

A representation of the model object 'Cmp Field Type'. The cmp-fieldType describes a container-managed field. The cmp-fieldType contains an optional description of the field, and the name of the field.

The following features are supported:

See Also:
EjbJar21Package.getCmpFieldType()
Generated:
Model:
extendedMetaData="name='cmp-fieldType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 JavaIdentifierType getFieldName()
          Returns the value of the 'Field Name' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 void setFieldName(JavaIdentifierType value)
          Sets the value of the 'Field Name' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar21Package.getCmpFieldType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/j2ee'"

getFieldName

JavaIdentifierType getFieldName()
Returns the value of the 'Field Name' containment reference. The field-name element specifies the name of a container managed field. The name of the cmp-field of an entity bean with cmp-version 2.x must begin with a lowercase letter. This field is accessed by methods whose names consists of the name of the field specified by field-name in which the first letter is uppercased, prefixed by "get" or "set". The name of the cmp-field of an entity bean with cmp-version 1.x must denote a public field of the enterprise bean class or one of its superclasses.

Returns:
the value of the 'Field Name' containment reference.
See Also:
setFieldName(JavaIdentifierType), EjbJar21Package.getCmpFieldType_FieldName()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='field-name' namespace='http://java.sun.com/xml/ns/j2ee'"

setFieldName

void setFieldName(JavaIdentifierType value)
Sets the value of the 'Field Name' containment reference.

Parameters:
value - the new value of the 'Field Name' containment reference.
See Also:
getFieldName()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar21Package.getCmpFieldType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: