org.argouml.uml
Class ProfileJava
java.lang.Object
|
+--org.argouml.uml.Profile
|
+--org.argouml.uml.ProfileJava
- public class ProfileJava
- extends Profile
This class implements the abstract class Profile for use in modelling
Java language projects. Eventually, this class may be replaced by
a configurable profile.
Field Summary |
protected static Category |
cat
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected static Category cat
getInstance
public static ProfileJava getInstance()
formatElement
public java.lang.String formatElement(MModelElement element,
MNamespace namespace)
- Description copied from class:
Profile
- This method produces a string that represents the specific
model element in the context of the specified namespace.
- Specified by:
formatElement
in class Profile
- Parameters:
element
- element to represent.namespace
- context namespace (may be null).
- Returns:
- a string representing the model element
defaultAssocEndName
protected java.lang.String defaultAssocEndName(MAssociationEnd assocEnd,
MNamespace namespace)
defaultAssocName
protected java.lang.String defaultAssocName(MAssociation assoc,
MNamespace ns)
defaultGeneralizationName
protected java.lang.String defaultGeneralizationName(MGeneralization gen,
MNamespace ns)
defaultName
protected java.lang.String defaultName(MModelElement element,
MNamespace namespace)
getPathSeparator
protected java.lang.String getPathSeparator()
getElementSeparator
protected java.lang.String getElementSeparator()
getEmptyCollection
protected java.lang.String getEmptyCollection()
formatCollection
public java.lang.String formatCollection(java.util.Iterator iter,
MNamespace namespace)
- Description copied from class:
Profile
- This method produces a string the represents the collection
of model elements in the context of the specified namespace.
- Specified by:
formatCollection
in class Profile
- Parameters:
iter
- iterator over collectionnamespace
- context namespace (may be null).
- Returns:
- a string representing the collection
getProfileModel
public MModel getProfileModel()
- Specified by:
getProfileModel
in class Profile
loadProfileModel
public static MModel loadProfileModel()