public class GenericTextConstraint extends TextConstraintImpl
Constraint.ModelElmtContextType
constraintName, constraintStatus, constraintText, constraintType, contextModelElmt, contextModelElmtType
Constructor and Description |
---|
GenericTextConstraint() |
GenericTextConstraint(GenericClassInfo genCi,
Constraint origCon) |
GenericTextConstraint(GenericPropertyInfo genPi,
Constraint origCon) |
GenericTextConstraint(TextConstraint constraint)
Creates a generic TextConstraint implementation from a given one.
|
Modifier and Type | Method and Description |
---|---|
void |
setContextModelElmt(Info contextModelElmt) |
void |
setContextModelElmtType(Constraint.ModelElmtContextType contextModelElmtType) |
void |
setName(String name) |
void |
setStatus(String status) |
void |
setText(String text) |
void |
setType(String type) |
contextModelElmt, contextModelElmtType, name, status, text, type
public GenericTextConstraint()
public GenericTextConstraint(TextConstraint constraint)
constraint
- public GenericTextConstraint(GenericClassInfo genCi, Constraint origCon)
genCi
- context model element of the new constraintorigCon
- Constraint to copy the text information frompublic GenericTextConstraint(GenericPropertyInfo genPi, Constraint origCon)
genPi
- context model element of the new constraintorigCon
- Constraint to copy the text information frompublic void setContextModelElmt(Info contextModelElmt)
public void setContextModelElmtType(Constraint.ModelElmtContextType contextModelElmtType)
public void setName(String name)
public void setStatus(String status)
public void setText(String text)
public void setType(String type)
Copyright © 2017. All rights reserved.