Interface IConstraint

All Superinterfaces:
IModelElement

public interface IConstraint extends IModelElement
Represents a constraint. As a constraint is read-only (created by IModel.createConstraint(String)) no further getters are provided.
Author:
Holger Eichelberger
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the constraint.
    Returns the textual representation of this constraint.
  • Method Details

    • getName

      String getName()
      Returns the name of the constraint.
      Returns:
      the name, empty in case of unnamed constraints
    • toString

      String toString()
      Returns the textual representation of this constraint.
      Overrides:
      toString in class Object
      Returns:
      the textual representation in IVML syntax