|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.notation.NotationProvider
org.argouml.notation.providers.AssociationEndNameNotation
org.argouml.notation.providers.uml.AssociationEndNameNotationUml
public class AssociationEndNameNotationUml
The UML notation for an association-end name (i.e. the role).
This notation supports the association end name, visibility, and stereotypes.
There is no support for the interface specifier (that maps to the "specification" of an AssociationEnd).
TODO: This is the only notation (that I'm aware of) that requires state. All others should become effectively singletons. - Bob.
| Constructor Summary | |
|---|---|
protected |
AssociationEndNameNotationUml()
The constructor. |
| Method Summary | |
|---|---|
static AssociationEndNameNotationUml |
getInstance()
Create a new instance of AssociationEndNameNotationUml |
java.lang.String |
getParsingHelp()
|
void |
parse(java.lang.Object modelElement,
java.lang.String text)
Parses the given text, and adapts the modelElement and maybe related elements accordingly. |
protected void |
parseAssociationEnd(java.lang.Object role,
java.lang.String text)
|
java.lang.String |
toString(java.lang.Object modelElement,
NotationSettings settings)
Generate a string representation for the given model element. |
| Methods inherited from class org.argouml.notation.providers.AssociationEndNameNotation |
|---|
initialiseListener, updateListener |
| Methods inherited from class org.argouml.notation.NotationProvider |
|---|
addElementListener, addElementListener, addElementListener, cleanListener, formatNameList, formatNameList, removeAllElementListeners, removeElementListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AssociationEndNameNotationUml()
| Method Detail |
|---|
public static final AssociationEndNameNotationUml getInstance()
public java.lang.String getParsingHelp()
getParsingHelp in class NotationProvider
public void parse(java.lang.Object modelElement,
java.lang.String text)
NotationProvider
parse in class NotationProvidermodelElement - the modelelement to adapttext - the string given by the user to be parsed
to adapt the model
protected void parseAssociationEnd(java.lang.Object role,
java.lang.String text)
throws java.text.ParseException
role - The AssociationEnd text describes.text - A String on the above format.
java.text.ParseException - when it detects an error in the role string. See also
ParseError.getErrorOffset().
public java.lang.String toString(java.lang.Object modelElement,
NotationSettings settings)
NotationProvider
toString in class NotationProvidermodelElement - the base UML elementsettings - settings that control rendering of the text
|
||||||||||
| 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 |