org.argouml.application.api
Interface NotationName

All Known Implementing Classes:
NotationNameImpl

public interface NotationName

Encapsulates specific attributes about a notation.

Since:
ARGO0.9.4

Method Summary
 boolean equals(NotationName nn)
          Ease-of-use helper to determine if this notation is the same as another.
 java.lang.String getConfigurationValue()
          Returns the text string stored in the configuration for this notation.
 javax.swing.Icon getIcon()
          Returns an icon for the notation, or null if no icon is available.
 java.lang.String getName()
          Returns the name of the language.
 java.lang.String getTitle()
          Returns a textual title for the notation.
 java.lang.String getVersion()
          Returns the version of the language if applicable, otherwise null
 java.lang.String toString()
          Ease-of-use helper for usage in swing.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the language.


getVersion

public java.lang.String getVersion()
Returns the version of the language if applicable, otherwise null


getTitle

public java.lang.String getTitle()
Returns a textual title for the notation.


getIcon

public javax.swing.Icon getIcon()
Returns an icon for the notation, or null if no icon is available.


getConfigurationValue

public java.lang.String getConfigurationValue()
Returns the text string stored in the configuration for this notation. This string is used to determine notation equality in equals(NotationName). This should incorporate both the name and the version if one exists.


toString

public java.lang.String toString()
Ease-of-use helper for usage in swing. Usually, it is equal to getConfigurationValue().


equals

public boolean equals(NotationName nn)
Ease-of-use helper to determine if this notation is the same as another. This must be equivalent to getConfigurationValue().equals(nn.getConfigurationValue())



ArgoUML © 1996-2003 (20040125)ArgoUML Project HomeArgoUML Cookbook