Package org.eclipse.esmf.metamodel.impl
Class DefaultComplexType
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultComplexType
- All Implemented Interfaces:
Comparable<ModelElementImpl>,ComplexType,HasProperties,ModelElement,NamedElement,StructureElement,Type
- Direct Known Subclasses:
DefaultAbstractEntity,DefaultEntity
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultComplexType(MetaModelBaseAttributes metaModelBaseAttributes, List<? extends Property> properties, Optional<ComplexType> _extends, List<org.eclipse.esmf.aspectmodel.urn.AspectModelUrn> extendingElements, ModelElementFactory loadedElements) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) A list of properties defined in the scope of the Complex Type.Methods inherited from class org.eclipse.esmf.metamodel.impl.ModelElementImpl
compareTo, equals, getAspectModelUrn, getDescriptions, getMetaModelVersion, getName, getPreferredNames, getSee, hashCode, hasSyntheticNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.esmf.metamodel.ComplexType
getAllProperties, getUrn, isAbstractEntity, isComplexTypeMethods 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
isCollectionAspect
-
Constructor Details
-
DefaultComplexType
protected DefaultComplexType(MetaModelBaseAttributes metaModelBaseAttributes, List<? extends Property> properties, Optional<ComplexType> _extends, List<org.eclipse.esmf.aspectmodel.urn.AspectModelUrn> extendingElements, ModelElementFactory loadedElements)
-
-
Method Details
-
getProperties
A list of properties defined in the scope of the Complex Type.- Specified by:
getPropertiesin interfaceHasProperties- Returns:
- the properties.
-
getExtends
- Specified by:
getExtendsin interfaceComplexType- Returns:
- the
ComplexTypethat is extended by this Complex Type, if present
-
getExtendingElements
- Specified by:
getExtendingElementsin interfaceComplexType- Returns:
- all
ComplexTypeinstances which extend this Abstract Entity.
-
accept
- Specified by:
acceptin interfaceModelElement
-