|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.uml.notation.ValueHandler
org.argouml.uml.notation.OperationNotation
org.argouml.uml.notation.uml.OperationNotationUml
The UML notation for an Operation.
| Field Summary |
| Fields inherited from class org.argouml.uml.notation.OperationNotation |
myClass, myOperation |
| Constructor Summary | |
OperationNotationUml(Object operation)
The constructor. |
|
| Method Summary | |
String |
getParsingHelp()
|
String |
parse(String text)
|
void |
parseOperation(String s,
Object op)
Parse a line of text and aligns the MOperation to the specification given. |
void |
parseOperationFig(Object classifier,
Object operation,
String text)
Parse a string representing one ore more ';' separated operations. |
String |
toString()
Generates an operation according to the UML 1.3 notation: stereotype visibility name (parameter-list) : return-type-expression {property-string} For the return-type-expression: only the types of the return parameters are shown. |
| Methods inherited from class org.argouml.uml.notation.ValueHandler |
getValue, isValue, putValue, putValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OperationNotationUml(Object operation)
operation - the operation that is represented| Method Detail |
public String parse(String text)
text - the text given by the user to be parsed to adapt the model
NotationProvider4.parse(java.lang.String)
public void parseOperationFig(Object classifier,
Object operation,
String text)
throws ParseException
classifier - Classifier The classifier the operation(s) belong tooperation - Operation The operation on which the editing happenedtext - The string to parse
ParseException - for invalid input
public void parseOperation(String s,
Object op)
throws ParseException
Stereotypes can be given between any element in the line on the form: <<stereotype1,stereotype2,stereotype3>>
The following properties are recognized to have special meaning: abstract, concurrency, concurrent, guarded, leaf, query, root and sequential.
This syntax is compatible with the UML 1.3 spec.
(formerly visibility name (parameter list) : return-type-expression {property-string} ) (formerly 2nd: [visibility] [keywords] returntype name(params)[;] )
s - The String to parse.op - The MOperation to adjust to the spcification in s.
ParseException - when it detects an error in the attribute string. See also
ParseError.getErrorOffset().public String getParsingHelp()
NotationProvider4.getParsingHelp()public String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |