blob: 73c38a46fc6b7265ada3955d76a512b1d52c4801 [file] [log] [blame]
/**
* Copyright (c) 2014 Fraunhofer FOKUS
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Max Bureck
*/
package org.eclipse.upr.bpmnprof;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.uml2.uml.Element;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Item Definition</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* <p>From package BPMNProfile::CoreStructure::Common.</p>
* <p>From package BPMNProfile::Process::Data.</p>
* <p>From package BPMNProfile::Process::HumanInteraction.</p>
* <p>From package BPMNProfile::Collaboration.</p>
* <p>From package BPMNProfile::CoreStructure::Foundation.</p>
* <p>From package BPMNProfile::CoreStructure::Service.</p>
* <p>From package BPMNProfile::Collaboration::Conversation.</p>
* <p>From package BPMNProfile::CoreStructure.</p>
* <p>From package BPMNProfile::Process::Activities.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.upr.bpmnprof.ItemDefinition#getItemKind <em>Item Kind</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.ItemDefinition#isCollection <em>Is Collection</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.ItemDefinition#getBase_Class <em>Base Class</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.ItemDefinition#getStructureRef <em>Structure Ref</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.ItemDefinition#getImport <em>Import</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition()
* @model
* @generated
*/
public interface ItemDefinition extends RootElement {
/**
* Returns the value of the '<em><b>Item Kind</b></em>' attribute.
* The default value is <code>"information"</code>.
* The literals are from the enumeration {@link org.eclipse.upr.bpmnprof.ItemKind}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Item Kind</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Item Kind</em>' attribute.
* @see org.eclipse.upr.bpmnprof.ItemKind
* @see #setItemKind(ItemKind)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition_ItemKind()
* @model default="information" required="true" ordered="false"
* @generated
*/
ItemKind getItemKind();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.ItemDefinition#getItemKind <em>Item Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Item Kind</em>' attribute.
* @see org.eclipse.upr.bpmnprof.ItemKind
* @see #getItemKind()
* @generated
*/
void setItemKind(ItemKind value);
/**
* Returns the value of the '<em><b>Is Collection</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Is Collection</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Is Collection</em>' attribute.
* @see #setIsCollection(boolean)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition_IsCollection()
* @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
* @generated
*/
boolean isCollection();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.ItemDefinition#isCollection <em>Is Collection</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Collection</em>' attribute.
* @see #isCollection()
* @generated
*/
void setIsCollection(boolean value);
/**
* Returns the value of the '<em><b>Base Class</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Class</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Class</em>' reference.
* @see #setBase_Class(org.eclipse.uml2.uml.Class)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition_Base_Class()
* @model required="true" ordered="false"
* @generated
*/
org.eclipse.uml2.uml.Class getBase_Class();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.ItemDefinition#getBase_Class <em>Base Class</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Class</em>' reference.
* @see #getBase_Class()
* @generated
*/
void setBase_Class(org.eclipse.uml2.uml.Class value);
/**
* Returns the value of the '<em><b>Structure Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Structure Ref</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Structure Ref</em>' reference.
* @see #setStructureRef(Element)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition_StructureRef()
* @model ordered="false"
* annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot derivation='self.base_Class'"
* @generated
*/
Element getStructureRef();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.ItemDefinition#getStructureRef <em>Structure Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Structure Ref</em>' reference.
* @see #getStructureRef()
* @generated
*/
void setStructureRef(Element value);
/**
* Returns the value of the '<em><b>Import</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Import</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Import</em>' reference.
* @see #setImport(Import)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getItemDefinition_Import()
* @model ordered="false"
* @generated
*/
Import getImport();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.ItemDefinition#getImport <em>Import</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Import</em>' reference.
* @see #getImport()
* @generated
*/
void setImport(Import value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* self.structureRef = self.base_Class
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ItemDefinition.structureRef'"
* @generated
*/
boolean ItemDefinitionstructureRef(DiagnosticChain diagnostics, Map<Object, Object> context);
} // ItemDefinition