/**
 */
package org.etsi.mts.tdl;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Data Element Use</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link org.etsi.mts.tdl.DataElementUse#getUnassignedMember <em>Unassigned Member</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.DataElementUse#getDataElement <em>Data Element</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.DataElementUse#getItem <em>Item</em>}</li>
 * </ul>
 *
 * @see org.etsi.mts.tdl.tdlPackage#getDataElementUse()
 * @model
 * @generated
 */
public interface DataElementUse extends DataUse
{
	/**
	 * Returns the value of the '<em><b>Unassigned Member</b></em>' attribute.
	 * The literals are from the enumeration {@link org.etsi.mts.tdl.UnassignedMemberTreatment}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unassigned Member</em>' attribute.
	 * @see org.etsi.mts.tdl.UnassignedMemberTreatment
	 * @see #setUnassignedMember(UnassignedMemberTreatment)
	 * @see org.etsi.mts.tdl.tdlPackage#getDataElementUse_UnassignedMember()
	 * @model
	 * @generated
	 */
	UnassignedMemberTreatment getUnassignedMember();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.DataElementUse#getUnassignedMember <em>Unassigned Member</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Unassigned Member</em>' attribute.
	 * @see org.etsi.mts.tdl.UnassignedMemberTreatment
	 * @see #getUnassignedMember()
	 * @generated
	 */
	void setUnassignedMember(UnassignedMemberTreatment value);

	/**
	 * Returns the value of the '<em><b>Data Element</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Data Element</em>' reference.
	 * @see #setDataElement(NamedElement)
	 * @see org.etsi.mts.tdl.tdlPackage#getDataElementUse_DataElement()
	 * @model
	 * @generated
	 */
	NamedElement getDataElement();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.DataElementUse#getDataElement <em>Data Element</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Data Element</em>' reference.
	 * @see #getDataElement()
	 * @generated
	 */
	void setDataElement(NamedElement value);

	/**
	 * Returns the value of the '<em><b>Item</b></em>' containment reference list.
	 * The list contents are of type {@link org.etsi.mts.tdl.DataUse}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Item</em>' containment reference list.
	 * @see org.etsi.mts.tdl.tdlPackage#getDataElementUse_Item()
	 * @model containment="true"
	 *        annotation="http://www.eclipse.org/OCL/Collection nullFree='false'"
	 * @generated
	 */
	EList<DataUse> getItem();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n                if (not self.dataElement.oclIsUndefined()) then\n                    if (self.dataElement.oclIsKindOf(DataType)) then\n                        self.dataElement.oclAsType(DataType)\n                    else\n                        if (self.dataElement.oclIsKindOf(DataInstance)) then\n                            self.dataElement.oclAsType(DataInstance).dataType\n                        else \n                            if (self.dataElement.oclIsTypeOf(FormalParameter)) then\n                                self.dataElement.oclAsType(FormalParameter).dataType\n                            else \n                                if (self.dataElement.oclIsTypeOf(Function)) then\n                                    self.dataElement.oclAsType(Function).returnType\n                                else\n                                    null\n                                endif\n                            endif \n                        endif\n                    endif\n                else \n                    if (self.container().oclIsTypeOf(MemberAssignment)) then\n                        self.container().oclAsType(MemberAssignment).member.dataType\n                    else \n                        if (self.container().oclIsTypeOf(ParameterBinding)) then\n                        \tself.container().oclAsType(ParameterBinding).resolveParameterType()\n                        else\n                            if (self.container().oclIsTypeOf(CollectionDataInstance)) then\n                                self.container().oclAsType(CollectionDataInstance).dataType.oclAsType(CollectionDataType).itemType\n                            else\n                                if (self.container().oclIsTypeOf(DataElementUse)) then\n                                    self.container().oclAsType(DataElementUse).resolveDataType().oclAsType(CollectionDataType).itemType\n                                else\n                                    if (self.container().oclIsTypeOf(DataInstanceUse)) then\n                                        self.container().oclAsType(DataInstanceUse).resolveDataType().oclAsType(CollectionDataType).itemType\n                                    else\n                                        null\n                                    endif\n                                endif\n                            endif\n                        endif\n                    endif\n                endif\n                '"
	 * @generated
	 */
	DataType resolveDataType();

} // DataElementUse
