Package org.eclipse.esmf.metamodel.impl
Class DefaultCharacteristic
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
- All Implemented Interfaces:
Comparable<ModelElementImpl>,Characteristic,ModelElement,NamedElement
- Direct Known Subclasses:
DefaultCode,DefaultCollection,DefaultEither,DefaultEnumeration,DefaultQuantifiable,DefaultSingleEntity,DefaultStructuredValue,DefaultTrait
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCharacteristic(MetaModelBaseAttributes metaModelBaseAttributes, Optional<Type> dataType) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitorbooleanDefines the data type of all Properties which use this Characteristic.inthashCode()toString()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.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Constructor Details
-
DefaultCharacteristic
public DefaultCharacteristic(MetaModelBaseAttributes metaModelBaseAttributes, Optional<Type> dataType)
-
-
Method Details
-
getDataType
Defines the data type of all Properties which use this Characteristic.- Specified by:
getDataTypein interfaceCharacteristic- Returns:
- the dataType.
-
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
-
toString
-
equals
- Overrides:
equalsin classModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelElementImpl
-