de.interactive_instruments.ShapeChange.Model.Generic
Class GenericTextConstraint
java.lang.Object
de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
de.interactive_instruments.ShapeChange.Model.Generic.GenericTextConstraint
- All Implemented Interfaces:
- Constraint, TextConstraint
public class GenericTextConstraint
- extends TextConstraintImpl
- Author:
- echterhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericTextConstraint
public GenericTextConstraint(TextConstraint constraint)
- Creates a generic TextConstraint implementation from a given one.
- Parameters:
constraint
-
GenericTextConstraint
public GenericTextConstraint(GenericClassInfo genCi,
Constraint origCon)
- Parameters:
genCi
- context model element of the new constraintorigCon
- Constraint to copy the text information from
GenericTextConstraint
public GenericTextConstraint(GenericPropertyInfo genPi,
Constraint origCon)
- Parameters:
genPi
- context model element of the new constraintorigCon
- Constraint to copy the text information from
setContextModelElmt
public void setContextModelElmt(Info contextModelElmt)
setContextModelElmtType
public void setContextModelElmtType(Constraint.ModelElmtContextType contextModelElmtType)
setName
public void setName(String name)
setStatus
public void setStatus(String status)
setText
public void setText(String text)
Copyright © 2015. All rights reserved.