|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.uml.ui.TabConstraints.ConstraintModel.CR
Field Summary | |
---|---|
private java.lang.Object |
m_mcConstraint
The constraint being represented. |
private int |
m_nIdx
The constraint's index in the list of constraints. |
Constructor Summary | |
---|---|
TabConstraints.ConstraintModel.CR(int nIdx)
|
|
TabConstraints.ConstraintModel.CR(java.lang.Object mcConstraint,
int nIdx)
|
Method Summary | |
---|---|
java.lang.String |
getData()
Get the constraint's body. |
java.lang.String |
getName()
Get the name of the constraint. |
void |
setData(java.lang.String sData,
EditingUtilities euHelper)
Set the constraint's body text. |
void |
setName(java.lang.String sName,
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 java.lang.Object m_mcConstraint
private int m_nIdx
Constructor Detail |
public TabConstraints.ConstraintModel.CR(java.lang.Object mcConstraint, int nIdx)
public TabConstraints.ConstraintModel.CR(int nIdx)
Method Detail |
public java.lang.String getName()
public java.lang.String getData()
public void setData(java.lang.String sData, EditingUtilities euHelper) throws OclParserException, OclTypeException
sData
- the new body of the constraint
java.lang.IllegalStateException
- if the constraint is not in a state to
accept body changes.
OclParserException
- if the specified constraint is not
syntactically correct.
OclTypeException
- if the specified constraint does not adhere by
OCL type rules.public void setName(java.lang.String sName, EditingUtilities euHelper)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |