Interface IConstraint
-
- All Superinterfaces:
IModelElement
- All Known Implementing Classes:
Constraint
public interface IConstraint extends IModelElement
Represents a constraint. As a constraint is read-only (created byIModel.createConstraint(String)) no further getters are provided.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of the constraint.java.lang.StringtoString()Returns the textual representation of this constraint.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the constraint.- Returns:
- the name, empty in case of unnamed constraints
-
toString
java.lang.String toString()
Returns the textual representation of this constraint.- Overrides:
toStringin classjava.lang.Object- Returns:
- the textual representation in IVML syntax
-
-