|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.aadl2.operations.ElementOperations
public class ElementOperations
A static utility class that provides operations related to 'Element' model objects.
The following operations are supported:
Field Summary | |
---|---|
protected static java.lang.String |
ALL_OWNED_ELEMENTS__EOCL_EXP
The cached OCL expression body for the ' All Owned Elements ' operation |
protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> |
ALL_OWNED_ELEMENTS__EOCL_QRY
The cached OCL query for the ' All Owned Elements ' query operation |
protected static org.eclipse.ocl.ecore.OCL |
EOCL_ENV
The cached environment for evaluating OCL expressions |
protected static java.lang.String |
HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the ' Has owner ' operation |
protected static org.eclipse.ocl.ecore.Constraint |
HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the ' Has owner ' invariant operation |
protected static java.lang.String |
MUST_BE_OWNED__EOCL_EXP
The cached OCL expression body for the ' Must Be Owned ' operation |
protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> |
MUST_BE_OWNED__EOCL_QRY
The cached OCL query for the ' Must Be Owned ' query operation |
protected static java.lang.String |
NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the ' Not own self ' operation |
protected static org.eclipse.ocl.ecore.Constraint |
NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the ' Not own self ' invariant operation |
Constructor Summary | |
---|---|
protected |
ElementOperations()
|
Method Summary | |
---|---|
static org.eclipse.emf.common.util.EList<Element> |
allOwnedElements(Element element)
The query allOwnedElements() gives all of the direct and indirect owned elements of an element. |
static boolean |
has_owner(Element element,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Elements that must be owned must have an owner. |
static boolean |
mustBeOwned(Element element)
The query mustBeOwned() indicates whether elements of this type must have an owner. |
static boolean |
not_own_self(Element element,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An element may not directly or indirectly own itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.eclipse.ocl.ecore.OCL EOCL_ENV
protected static final java.lang.String NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Not own self
' operation.
not_own_self(Element, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static org.eclipse.ocl.ecore.Constraint NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Not own self
' invariant operation.
not_own_self(Element, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
protected static final java.lang.String HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Has owner
' operation.
has_owner(Element, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static org.eclipse.ocl.ecore.Constraint HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Has owner
' invariant operation.
has_owner(Element, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
protected static final java.lang.String ALL_OWNED_ELEMENTS__EOCL_EXP
All Owned Elements
' operation.
allOwnedElements(Element)
,
Constant Field Valuesprotected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> ALL_OWNED_ELEMENTS__EOCL_QRY
All Owned Elements
' query operation.
allOwnedElements(Element)
protected static final java.lang.String MUST_BE_OWNED__EOCL_EXP
Must Be Owned
' operation.
mustBeOwned(Element)
,
Constant Field Valuesprotected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> MUST_BE_OWNED__EOCL_QRY
Must Be Owned
' query operation.
mustBeOwned(Element)
Constructor Detail |
---|
protected ElementOperations()
Method Detail |
---|
public static boolean not_own_self(Element element, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
element
- The receiving 'Element' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static boolean has_owner(Element element, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
element
- The receiving 'Element' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public static org.eclipse.emf.common.util.EList<Element> allOwnedElements(Element element)
element
- The receiving 'Element' model object.
public static boolean mustBeOwned(Element element)
element
- The receiving 'Element' model object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |