org.argouml.uml
Class ProjectMemberModel
java.lang.Object
|
+--org.argouml.kernel.ProjectMember
|
+--org.argouml.uml.ProjectMemberModel
- public class ProjectMemberModel
- extends ProjectMember
This file updated by Jim Holt 1/17/00 for nsuml support
Method Summary |
java.lang.String |
getFileExtension()
|
MModel |
getModel()
|
java.lang.String |
getType()
|
void |
load()
|
void |
save(java.lang.String path,
boolean overwrite)
|
void |
save(java.lang.String path,
boolean overwrite,
java.io.Writer writer)
|
void |
save(java.io.Writer writer)
Save the project model to XMI. |
protected void |
setModel(MModel model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MEMBER_TYPE
public static final java.lang.String MEMBER_TYPE
- See Also:
- Constant Field Values
FILE_EXT
public static final java.lang.String FILE_EXT
- See Also:
- Constant Field Values
ProjectMemberModel
public ProjectMemberModel(java.lang.String name,
Project p)
getModel
public MModel getModel()
setModel
protected void setModel(MModel model)
getType
public java.lang.String getType()
- Specified by:
getType
in class ProjectMember
getFileExtension
public java.lang.String getFileExtension()
- Specified by:
getFileExtension
in class ProjectMember
load
public void load()
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
load
in class ProjectMember
java.io.IOException
org.xml.sax.SAXException
save
public void save(java.lang.String path,
boolean overwrite)
throws java.lang.Exception
- Specified by:
save
in class ProjectMember
- Parameters:
path
- overwrite
-
- Throws:
java.lang.Exception
save
public void save(java.lang.String path,
boolean overwrite,
java.io.Writer writer)
throws java.lang.Exception
- Specified by:
save
in class ProjectMember
- Parameters:
path
- overwrite
- writer
-
- Throws:
java.lang.Exception
save
public void save(java.io.Writer writer)
throws java.lang.Exception
- Save the project model to XMI.
- Overrides:
save
in class ProjectMember
- Parameters:
writer
-
- Throws:
java.lang.Exception
- See Also:
ProjectMember.save(java.io.Writer)