org.omg.bpmn.bpmn2.Error Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.omg.bpmn.model Show documentation
Show all versions of org.omg.bpmn.model Show documentation
Ecore and generated code for org.omg.bpmn2
The newest version!
/*
* Copyright (c) 2012 - 2024 Data In Motion and others.
* All rights reserved.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Mark Hoffmann - initial API and implementation
*/
package org.omg.bpmn.bpmn2;
import org.osgi.annotation.versioning.ProviderType;
/**
*
* A representation of the model object 'Error'.
*
*
*
* The following features are supported:
*
*
* - {@link org.omg.bpmn.bpmn2.Error#getErrorCode Error Code}
* - {@link org.omg.bpmn.bpmn2.Error#getName Name}
* - {@link org.omg.bpmn.bpmn2.Error#getStructureRef Structure Ref}
*
*
* @see org.omg.bpmn.bpmn2.Bpmn2Package#getError()
* @model extendedMetaData="name='tError' kind='elementOnly'"
* @generated
*/
@ProviderType
public interface Error extends RootElement {
/**
* Returns the value of the 'Error Code' attribute.
*
*
* @return the value of the 'Error Code' attribute.
* @see #setErrorCode(String)
* @see org.omg.bpmn.bpmn2.Bpmn2Package#getError_ErrorCode()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='errorCode'"
* @generated
*/
String getErrorCode();
/**
* Sets the value of the '{@link org.omg.bpmn.bpmn2.Error#getErrorCode Error Code}' attribute.
*
*
* @param value the new value of the 'Error Code' attribute.
* @see #getErrorCode()
* @generated
*/
void setErrorCode(String value);
/**
* Returns the value of the 'Name' attribute.
*
*
* @return the value of the 'Name' attribute.
* @see #setName(String)
* @see org.omg.bpmn.bpmn2.Bpmn2Package#getError_Name()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='name'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.omg.bpmn.bpmn2.Error#getName Name}' attribute.
*
*
* @param value the new value of the 'Name' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the 'Structure Ref' reference.
*
*
* @return the value of the 'Structure Ref' reference.
* @see #setStructureRef(ItemDefinition)
* @see org.omg.bpmn.bpmn2.Bpmn2Package#getError_StructureRef()
* @model ordered="false"
* extendedMetaData="kind='attribute' name='structureRef'"
* @generated
*/
ItemDefinition getStructureRef();
/**
* Sets the value of the '{@link org.omg.bpmn.bpmn2.Error#getStructureRef Structure Ref}' reference.
*
*
* @param value the new value of the 'Structure Ref' reference.
* @see #getStructureRef()
* @generated
*/
void setStructureRef(ItemDefinition value);
} // Error