Package org.eclipse.esmf.metamodel.impl
Class DefaultAspect
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultAspect
- All Implemented Interfaces:
Comparable<ModelElementImpl>,Aspect,HasProperties,ModelElement,NamedElement,StructureElement
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAspect(MetaModelBaseAttributes metaModelBaseAttributes, List<Property> properties, List<Operation> operations, List<Event> events, boolean isCollectionAspect) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitorbooleanA list of Events provided by the Aspect.A list of Operations exposed by the Aspect.A list of Properties exposed by the Aspect.inthashCode()booleantoString()Methods inherited from class org.eclipse.esmf.metamodel.impl.ModelElementImpl
compareTo, getAspectModelUrn, getDescriptions, getMetaModelVersion, getName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.esmf.metamodel.HasProperties
getPropertyByNameMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from interface org.eclipse.esmf.metamodel.StructureElement
isComplexType
-
Constructor Details
-
DefaultAspect
-
-
Method Details
-
getProperties
A list of Properties exposed by the Aspect.- Specified by:
getPropertiesin interfaceHasProperties- Returns:
- the properties.
-
getOperations
A list of Operations exposed by the Aspect.- Specified by:
getOperationsin interfaceAspect- Returns:
- the operations.
-
getEvents
A list of Events provided by the Aspect. -
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Type Parameters:
T- The result type of the traversal operationC- The context of the visitor traversal- Parameters:
visitor- The visitor to accept
-
isCollectionAspect
public boolean isCollectionAspect()- Specified by:
isCollectionAspectin interfaceStructureElement- Returns:
- a
booleanwhich indicates whether the structure element is a Collection Aspect
-
toString
-
equals
- Overrides:
equalsin classModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelElementImpl
-