Class DefaultQuantityKind

java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultQuantityKind
All Implemented Interfaces:
Comparable<ModelElementImpl>, ModelElement, NamedElement, QuantityKind

public class DefaultQuantityKind extends ModelElementImpl implements QuantityKind
  • Constructor Details

  • Method Details

    • getLabel

      public String getLabel()
      Description copied from interface: QuantityKind
      Returns the quantity kind's human-readable name
      Specified by:
      getLabel in interface QuantityKind
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class ModelElementImpl
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object