| /**
|
| * Copyright (c) 2010, 2019 Mia-Software.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License v2.0
|
| * which accompanies this distribution, and is available at
|
| * http://www.eclipse.org/legal/epl-v20.html
|
| *
|
| * Contributors:
|
| *
|
| * Nicolas Guyomar (Mia-Software) - initial API and implementation
|
| */ |
| package org.eclipse.modisco.jee.ejbjar.EjbJar21;
|
|
|
| import java.lang.String;
|
|
|
| import org.eclipse.emf.common.util.EList;
|
|
|
| import org.eclipse.emf.ecore.EObject;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Cmp Field Type</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.modisco.jee.ejbjar.EjbJar21.CmpFieldType#getDescription <em>Description</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.CmpFieldType#getFieldName <em>Field Name</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.CmpFieldType#getId <em>Id</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getCmpFieldType()
|
| * @model extendedMetaData="name='cmp-fieldType' kind='elementOnly'"
|
| * @generated
|
| */
|
| public interface CmpFieldType extends EObject {
|
| /**
|
| * Returns the value of the '<em><b>Description</b></em>' containment reference list.
|
| * The list contents are of type {@link org.eclipse.modisco.jee.ejbjar.EjbJar21.DescriptionType}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Description</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>Description</em>' containment reference list.
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getCmpFieldType_Description()
|
| * @model containment="true"
|
| * extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/j2ee'"
|
| * @generated
|
| */
|
| EList<DescriptionType> getDescription();
|
|
|
| /**
|
| * Returns the value of the '<em><b>Field Name</b></em>' containment reference.
|
| * <!-- 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>' containment reference.
|
| * @see #setFieldName(JavaIdentifierType)
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getCmpFieldType_FieldName()
|
| * @model containment="true" required="true"
|
| * extendedMetaData="kind='element' name='field-name' namespace='http://java.sun.com/xml/ns/j2ee'"
|
| * @generated
|
| */
|
| JavaIdentifierType getFieldName();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.CmpFieldType#getFieldName <em>Field Name</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Field Name</em>' containment reference.
|
| * @see #getFieldName()
|
| * @generated
|
| */
|
| void setFieldName(JavaIdentifierType 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.modisco.jee.ejbjar.EjbJar21.EjbJar21Package#getCmpFieldType_Id()
|
| * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
|
| * extendedMetaData="kind='attribute' name='id'"
|
| * @generated
|
| */
|
| String getId();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar21.CmpFieldType#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);
|
|
|
| } // CmpFieldType
|