com.bonevich.erj.app
Class ProjectModel

java.lang.Object
  |
  +--com.bonevich.erj.app.ProjectComponent
        |
        +--com.bonevich.erj.app.ProjectModel

public final class ProjectModel
extends ProjectComponent


Field Summary
static java.lang.String MODEL_EXTENSION
           
static java.lang.String XMI_VERSION
           
 
Fields inherited from class com.bonevich.erj.app.ProjectComponent
_entryFilename, _project, _type, DTD, ERJ, HTML, OTHER, SVG, TEXT, XMI, XML
 
Constructor Summary
ProjectModel(Project project, Schema model)
           
 
Method Summary
 java.lang.String getEntryExtension()
           
 Schema getModel()
           
 void initEntryFilename()
           
 void load(java.io.InputStream in)
           
 void save(java.io.OutputStream out)
           
 
Methods inherited from class com.bonevich.erj.app.ProjectComponent
getEntryFilename, getProject, getType, setEntryFilename, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODEL_EXTENSION

public static final java.lang.String MODEL_EXTENSION
See Also:
Constant Field Values

XMI_VERSION

public static final java.lang.String XMI_VERSION
See Also:
Constant Field Values
Constructor Detail

ProjectModel

public ProjectModel(Project project,
                    Schema model)
Method Detail

getModel

public Schema getModel()

getEntryExtension

public java.lang.String getEntryExtension()
Specified by:
getEntryExtension in class ProjectComponent

initEntryFilename

public void initEntryFilename()
Specified by:
initEntryFilename in class ProjectComponent

load

public void load(java.io.InputStream in)
          throws java.io.IOException
Specified by:
load in class ProjectComponent
java.io.IOException

save

public void save(java.io.OutputStream out)
          throws java.io.IOException
Specified by:
save in class ProjectComponent
java.io.IOException


Copyright © 2001-2003 bonevich.com. All Rights Reserved.