Class DefaultDuration
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
org.eclipse.esmf.characteristic.impl.DefaultQuantifiable
org.eclipse.esmf.characteristic.impl.DefaultDuration
- All Implemented Interfaces:
Comparable<ModelElementImpl>,Duration,Quantifiable,Characteristic,ModelElement,NamedElement
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDuration(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, Optional<Unit> unit) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitortoString()Methods inherited from class org.eclipse.esmf.characteristic.impl.DefaultQuantifiable
equals, getUnit, hashCodeMethods inherited from class org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
getDataTypeMethods 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.Characteristic
getDataTypeMethods 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.characteristic.Quantifiable
getUnit
-
Constructor Details
-
DefaultDuration
public DefaultDuration(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, Optional<Unit> unit)
-
-
Method Details
-
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Overrides:
acceptin classDefaultQuantifiable- Type Parameters:
T- The result type of the traversal operationC- The context of the visitor traversal- Parameters:
visitor- The visitor to accept
-
toString
- Overrides:
toStringin classDefaultQuantifiable
-