edu.cmu.sei.aadl.aadl2.operations
Class TypeOperations

java.lang.Object
  extended by edu.cmu.sei.aadl.aadl2.operations.ElementOperations
      extended by edu.cmu.sei.aadl.aadl2.operations.NamedElementOperations
          extended by edu.cmu.sei.aadl.aadl2.operations.TypeOperations

public class TypeOperations
extends NamedElementOperations

A static utility class that provides operations related to 'Type' model objects.

The following operations are supported:


Field Summary
protected static java.lang.String CONFORMS_TO__TYPE__EOCL_EXP
          The cached OCL expression body for the 'Conforms To' operation
protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> CONFORMS_TO__TYPE__EOCL_QRY
          The cached OCL query for the 'Conforms To' query operation
 
Fields inherited from class edu.cmu.sei.aadl.aadl2.operations.NamedElementOperations
ALL_NAMESPACES__EOCL_EXP, ALL_NAMESPACES__EOCL_QRY, HAS_NO_QUALIFIED_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP, HAS_NO_QUALIFIED_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV, HAS_QUALIFIED_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP, HAS_QUALIFIED_NAME__DIAGNOSTIC_CHAIN_MAP__EOCL_INV, IS_DISTINGUISHABLE_FROM__NAMED_ELEMENT_NAMESPACE__EOCL_EXP, IS_DISTINGUISHABLE_FROM__NAMED_ELEMENT_NAMESPACE__EOCL_QRY, QUALIFIED_NAME__EOCL_EXP, QUALIFIED_NAME__EOCL_QRY, SEPARATOR__EOCL_EXP, SEPARATOR__EOCL_QRY
 
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 TypeOperations()
           
 
Method Summary
static boolean conformsTo(Type type, Type other)
          The query conformsTo() gives true for a type that conforms to another.
 
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

CONFORMS_TO__TYPE__EOCL_EXP

protected static final java.lang.String CONFORMS_TO__TYPE__EOCL_EXP
The cached OCL expression body for the 'Conforms To' operation.

See Also:
conformsTo(Type, edu.cmu.sei.aadl.aadl2.Type), Constant Field Values

CONFORMS_TO__TYPE__EOCL_QRY

protected static org.eclipse.ocl.expressions.OCLExpression<org.eclipse.emf.ecore.EClassifier> CONFORMS_TO__TYPE__EOCL_QRY
The cached OCL query for the 'Conforms To' query operation.

See Also:
conformsTo(Type, edu.cmu.sei.aadl.aadl2.Type)
Constructor Detail

TypeOperations

protected TypeOperations()

Method Detail

conformsTo

public static boolean conformsTo(Type type,
                                 Type other)
The query conformsTo() gives true for a type that conforms to another. By default, two types do not conform to each other. This query is intended to be redefined for specific conformance situations. result = false

Parameters:
type - The receiving 'Type' model object.