blob: 89f183ac2aac5e902b68e6bfb49f3fa18f43891c [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id: CMPField.java,v 1.1 2007/05/16 06:42:32 cbridgha Exp $
*/
package org.eclipse.jst.javaee.ejb;
import java.util.List;
import org.eclipse.jst.javaee.core.JavaEEObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>CMP Field</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
*
* The cmp-fieldType describes a container-managed field. The
* cmp-fieldType contains an optional description of the field,
* and the name of the field.
*
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.jst.javaee.ejb.CMPField#getDescriptions <em>Descriptions</em>}</li>
* <li>{@link org.eclipse.jst.javaee.ejb.CMPField#getFieldName <em>Field Name</em>}</li>
* <li>{@link org.eclipse.jst.javaee.ejb.CMPField#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getCMPField()
* @extends JavaEEObject
* @generated
*/
public interface CMPField extends JavaEEObject {
/**
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.jst.javaee.core.Description}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getCMPField_Descriptions()
* @generated
*/
List getDescriptions();
/**
* Returns the value of the '<em><b>Field Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
*
* 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.
*
*
* <!-- end-model-doc -->
* @return the value of the '<em>Field Name</em>' attribute.
* @see #setFieldName(String)
* @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getCMPField_FieldName()
* @generated
*/
String getFieldName();
/**
* Sets the value of the '{@link org.eclipse.jst.javaee.ejb.CMPField#getFieldName <em>Field Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Field Name</em>' attribute.
* @see #getFieldName()
* @generated
*/
void setFieldName(String value);
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getCMPField_Id()
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.jst.javaee.ejb.CMPField#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
} // CMPField