|
||||||||||
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
edu.cmu.sei.aadl.aadl2.operations.NamedElementOperations
edu.cmu.sei.aadl.aadl2.operations.NamespaceOperations
public class NamespaceOperations
A static utility class that provides operations related to 'Namespace' model objects.
The following operations are supported:
Field Summary | |
---|---|
protected static java.lang.String |
GET_NAMES_OF_MEMBER__NAMED_ELEMENT__EOCL_EXP
The cached OCL expression body for the ' Get Names Of Member ' operation |
protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> |
GET_NAMES_OF_MEMBER__NAMED_ELEMENT__EOCL_QRY
The cached OCL query for the ' Get Names Of Member ' query operation |
protected static java.lang.String |
MEMBERS_ARE_DISTINGUISHABLE__EOCL_EXP
The cached OCL expression body for the ' Members Are Distinguishable ' operation |
protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> |
MEMBERS_ARE_DISTINGUISHABLE__EOCL_QRY
The cached OCL query for the ' Members Are Distinguishable ' query operation |
protected static java.lang.String |
MEMBERS_DISTINGUISHABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
The cached OCL expression body for the ' Members distinguishable ' operation |
protected static org.eclipse.ocl.ecore.Constraint |
MEMBERS_DISTINGUISHABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
The cached OCL invariant for the ' Members distinguishable ' invariant operation |
Fields inherited from class edu.cmu.sei.aadl.aadl2.operations.ElementOperations |
---|
ALL_OWNED_ELEMENTS__EOCL_EXP, ALL_OWNED_ELEMENTS__EOCL_QRY, EOCL_ENV, HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP, HAS_OWNER__DIAGNOSTIC_CHAIN_MAP__EOCL_INV, MUST_BE_OWNED__EOCL_EXP, MUST_BE_OWNED__EOCL_QRY, NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP, NOT_OWN_SELF__DIAGNOSTIC_CHAIN_MAP__EOCL_INV |
Constructor Summary | |
---|---|
protected |
NamespaceOperations()
|
Method Summary | |
---|---|
static org.eclipse.emf.common.util.EList<java.lang.String> |
getNamesOfMember(Namespace namespace,
NamedElement element)
The query getNamesOfMember() gives a set of all of the names that a member would have in a Namespace. |
static boolean |
members_distinguishable(Namespace namespace,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
All the members of a Namespace are distinguishable within it. |
static boolean |
membersAreDistinguishable(Namespace namespace)
The Boolean query membersAreDistinguishable() determines whether all of the namespaces members are distinguishable within it. |
Methods inherited from class edu.cmu.sei.aadl.aadl2.operations.NamedElementOperations |
---|
allNamespaces, has_no_qualified_name, has_qualified_name, isDistinguishableFrom, qualifiedName, separator |
Methods inherited from class edu.cmu.sei.aadl.aadl2.operations.ElementOperations |
---|
allOwnedElements, has_owner, mustBeOwned, not_own_self |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String MEMBERS_DISTINGUISHABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP
Members distinguishable
' operation.
members_distinguishable(Namespace, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
,
Constant Field Valuesprotected static org.eclipse.ocl.ecore.Constraint MEMBERS_DISTINGUISHABLE__DIAGNOSTIC_CHAIN_MAP__EOCL_INV
Members distinguishable
' invariant operation.
members_distinguishable(Namespace, org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
protected static final java.lang.String GET_NAMES_OF_MEMBER__NAMED_ELEMENT__EOCL_EXP
Get Names Of Member
' operation.
getNamesOfMember(Namespace, edu.cmu.sei.aadl.aadl2.NamedElement)
,
Constant Field Valuesprotected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> GET_NAMES_OF_MEMBER__NAMED_ELEMENT__EOCL_QRY
Get Names Of Member
' query operation.
getNamesOfMember(Namespace, edu.cmu.sei.aadl.aadl2.NamedElement)
protected static final java.lang.String MEMBERS_ARE_DISTINGUISHABLE__EOCL_EXP
Members Are Distinguishable
' operation.
membersAreDistinguishable(Namespace)
,
Constant Field Valuesprotected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> MEMBERS_ARE_DISTINGUISHABLE__EOCL_QRY
Members Are Distinguishable
' query operation.
membersAreDistinguishable(Namespace)
Constructor Detail |
---|
protected NamespaceOperations()
Method Detail |
---|
public static boolean members_distinguishable(Namespace namespace, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
namespace
- The receiving 'Namespace' 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<java.lang.String> getNamesOfMember(Namespace namespace, NamedElement element)
namespace
- The receiving 'Namespace' model object.
public static boolean membersAreDistinguishable(Namespace namespace)
namespace
- The receiving 'Namespace' model object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |