Class DefaultScalar

java.lang.Object
org.eclipse.esmf.metamodel.impl.DefaultScalar
All Implemented Interfaces:
ModelElement, Scalar, Type

public class DefaultScalar extends Object implements Scalar
  • Constructor Details

    • DefaultScalar

      public DefaultScalar(String urn, org.eclipse.esmf.samm.KnownVersion metaModelVersion)
  • Method Details

    • getUrn

      public String getUrn()
      Specified by:
      getUrn in interface Type
      Returns:
      the URN which identifies the type
    • getMetaModelVersion

      public org.eclipse.esmf.samm.KnownVersion getMetaModelVersion()
      Specified by:
      getMetaModelVersion in interface ModelElement
      Returns:
      the version of the Aspect Meta Model on which the Aspect Model is based.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • accept

      public <T, C> T accept(AspectVisitor<T,C> visitor, C context)
      Accepts an Aspect visitor
      Specified by:
      accept in interface ModelElement
      Type Parameters:
      T - The result type of the traversal operation
      C - The context of the visitor traversal
      Parameters:
      visitor - The visitor to accept
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object