Class DefaultState
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultCharacteristic
org.eclipse.esmf.characteristic.impl.DefaultEnumeration
org.eclipse.esmf.characteristic.impl.DefaultState
- All Implemented Interfaces:
Comparable<ModelElementImpl>,Enumeration,State,Characteristic,ModelElement,NamedElement
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultState(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, List<Value> values, Value defaultValue) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitorbooleanThe default value for this stateinthashCode()toString()Methods inherited from class org.eclipse.esmf.characteristic.impl.DefaultEnumeration
getValuesMethods 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.characteristic.Enumeration
getValuesMethods 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
-
DefaultState
public DefaultState(MetaModelBaseAttributes metaModelBaseAttributes, Type dataType, List<Value> values, Value defaultValue)
-
-
Method Details
-
getDefaultValue
The default value for this state- Specified by:
getDefaultValuein interfaceState- Returns:
- the defaultValue.
-
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Overrides:
acceptin classDefaultEnumeration- 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 classDefaultEnumeration
-
equals
- Overrides:
equalsin classDefaultEnumeration
-
hashCode
public int hashCode()- Overrides:
hashCodein classDefaultEnumeration
-