|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.uml.ui.TabConstraints.ConstraintModel.CR
Field Summary | |
private Object |
theMMcConstraint
The constraint being represented. |
private int |
theMNIdx
The constraint's index in the list of constraints. |
Constructor Summary | |
TabConstraints.ConstraintModel.CR(int nIdx)
|
|
TabConstraints.ConstraintModel.CR(Object mcConstraint,
int nIdx)
|
Method Summary | |
String |
getData()
Get the constraint's body. |
String |
getName()
Get the name of the constraint. |
void |
setData(String sData,
tudresden.ocl.gui.EditingUtilities euHelper)
Set the constraint's body text. |
void |
setName(String sName,
tudresden.ocl.gui.EditingUtilities euHelper)
Set the constraint's name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Object theMMcConstraint
private int theMNIdx
Constructor Detail |
public TabConstraints.ConstraintModel.CR(Object mcConstraint, int nIdx)
public TabConstraints.ConstraintModel.CR(int nIdx)
Method Detail |
public String getName()
getName
in interface tudresden.ocl.gui.ConstraintRepresentation
public String getData()
getData
in interface tudresden.ocl.gui.ConstraintRepresentation
public void setData(String sData, tudresden.ocl.gui.EditingUtilities euHelper) throws tudresden.ocl.parser.OclParserException, tudresden.ocl.check.OclTypeException
setData
in interface tudresden.ocl.gui.ConstraintRepresentation
sData
- the new body of the constraint
IllegalStateException
- if the constraint is
not in a state to accept body changes.
tudresden.ocl.parser.OclParserException
- if the specified constraint is not
syntactically correct.
tudresden.ocl.check.OclTypeException
- if the specified constraint
does not adhere by OCL type rules.public void setName(String sName, tudresden.ocl.gui.EditingUtilities euHelper)
setName
in interface tudresden.ocl.gui.ConstraintRepresentation
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |