blob: dd9d0eab1fe02bbe2f4c0530c05c4ee54b1b43de [file] [log] [blame]
/**
* Copyright (c) 2000-2009, Intalio Inc.
* 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:
* Intalio Inc. - initial API and implementation
*
*/
package org.eclipse.bpmn;
import javax.xml.namespace.QName;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Item Definition</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.bpmn.ItemDefinition#isIsCollection <em>Is Collection</em>}</li>
* <li>{@link org.eclipse.bpmn.ItemDefinition#getItemKind <em>Item Kind</em>}</li>
* <li>{@link org.eclipse.bpmn.ItemDefinition#getStructureRef <em>Structure Ref</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.bpmn.BpmnPackage#getItemDefinition()
* @model extendedMetaData="name='tItemDefinition' kind='elementOnly'"
* @generated
*/
public interface ItemDefinition extends RootElement {
/**
* 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 #isSetIsCollection()
* @see #unsetIsCollection()
* @see #setIsCollection(boolean)
* @see org.eclipse.bpmn.BpmnPackage#getItemDefinition_IsCollection()
* @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
* extendedMetaData="kind='attribute' name='isCollection'"
* @generated
*/
boolean isIsCollection();
/**
* Sets the value of the '{@link org.eclipse.bpmn.ItemDefinition#isIsCollection <em>Is Collection</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Is Collection</em>' attribute.
* @see #isSetIsCollection()
* @see #unsetIsCollection()
* @see #isIsCollection()
* @generated
*/
void setIsCollection(boolean value);
/**
* Unsets the value of the '{@link org.eclipse.bpmn.ItemDefinition#isIsCollection <em>Is Collection</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetIsCollection()
* @see #isIsCollection()
* @see #setIsCollection(boolean)
* @generated
*/
void unsetIsCollection();
/**
* Returns whether the value of the '{@link org.eclipse.bpmn.ItemDefinition#isIsCollection <em>Is Collection</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Is Collection</em>' attribute is set.
* @see #unsetIsCollection()
* @see #isIsCollection()
* @see #setIsCollection(boolean)
* @generated
*/
boolean isSetIsCollection();
/**
* 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.bpmn.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.bpmn.ItemKind
* @see #isSetItemKind()
* @see #unsetItemKind()
* @see #setItemKind(ItemKind)
* @see org.eclipse.bpmn.BpmnPackage#getItemDefinition_ItemKind()
* @model default="Information" unsettable="true"
* extendedMetaData="kind='attribute' name='itemKind'"
* @generated
*/
ItemKind getItemKind();
/**
* Sets the value of the '{@link org.eclipse.bpmn.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.bpmn.ItemKind
* @see #isSetItemKind()
* @see #unsetItemKind()
* @see #getItemKind()
* @generated
*/
void setItemKind(ItemKind value);
/**
* Unsets the value of the '{@link org.eclipse.bpmn.ItemDefinition#getItemKind <em>Item Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetItemKind()
* @see #getItemKind()
* @see #setItemKind(ItemKind)
* @generated
*/
void unsetItemKind();
/**
* Returns whether the value of the '{@link org.eclipse.bpmn.ItemDefinition#getItemKind <em>Item Kind</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Item Kind</em>' attribute is set.
* @see #unsetItemKind()
* @see #getItemKind()
* @see #setItemKind(ItemKind)
* @generated
*/
boolean isSetItemKind();
/**
* Returns the value of the '<em><b>Structure Ref</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Structure Ref</em>' attribute 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>' attribute.
* @see #setStructureRef(QName)
* @see org.eclipse.bpmn.BpmnPackage#getItemDefinition_StructureRef()
* @model dataType="org.eclipse.emf.ecore.xml.type.QName"
* extendedMetaData="kind='attribute' name='structureRef'"
* @generated
*/
QName getStructureRef();
/**
* Sets the value of the '{@link org.eclipse.bpmn.ItemDefinition#getStructureRef <em>Structure Ref</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Structure Ref</em>' attribute.
* @see #getStructureRef()
* @generated
*/
void setStructureRef(QName value);
} // ItemDefinition