se.kmr.scam.editor.impl
Class DocumentImpl

java.lang.Object
  extended byse.kmr.scam.editor.impl.DocumentImpl
All Implemented Interfaces:
Document
Direct Known Subclasses:
ManifestDocument

public class DocumentImpl
extends Object
implements Document

Author:
matthias To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 
Fields inherited from interface se.kmr.scam.editor.Document
SAVE, STATUS_NO_PROPERTIES, STATUS_NO_TITLE_PROPERTY, STATUS_OK, STATUS_UNKNOWN_ERROR
 
Constructor Summary
DocumentImpl()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener pcl)
           
 DesktopFrame getEditor()
           
 Model getExtraModel()
           
 Model getFormModel()
           
 FormNode getFormNode()
           
 String getName()
           
 Model getQueryModel()
          Returns the queryModel.
 int getStatus()
           
 String getURI()
           
 Model getValueModel()
           
 boolean isItem()
          Returns the isItem.
 boolean isSavable()
           
 void refresh()
           
 void refreshFormNode()
           
 boolean removeFromModel()
           
 void removePropertyChangeListener(PropertyChangeListener pcl)
           
 boolean saveToModel()
           
 void setEditor(DesktopFrame editorFrame)
           
 void setExtraModel(Model extraModel)
          Sets the extraModel.
 void setFormModel(Model formModel)
          Sets the formModel.
 void setIsItem(boolean isItem)
          Sets the isItem.
 void setName(String name)
          Sets the name.
 void setQueryModel(Model queryModel)
          Sets the queryModel.
 void setStatus(int status)
           
 void setUri(String uri)
          Sets the uri.
 void setValueModel(Model valueModel)
          Sets the valueModel.
 void sweep()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentImpl

public DocumentImpl()
Method Detail

getEditor

public DesktopFrame getEditor()
Specified by:
getEditor in interface Document
Returns:

setEditor

public void setEditor(DesktopFrame editorFrame)
Specified by:
setEditor in interface Document
Returns:

getName

public String getName()
Specified by:
getName in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getName()

getURI

public String getURI()
Specified by:
getURI in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getURI()

getFormNode

public FormNode getFormNode()
Specified by:
getFormNode in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getFormNode()

sweep

public void sweep()
Specified by:
sweep in interface Document

getValueModel

public Model getValueModel()
Specified by:
getValueModel in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getValueModel()

getFormModel

public Model getFormModel()
Specified by:
getFormModel in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getFormModel()

getExtraModel

public Model getExtraModel()
Specified by:
getExtraModel in interface Document
See Also:
se.kmr.scam.editor.gui.Document#getExtraModel()

isSavable

public boolean isSavable()
Specified by:
isSavable in interface Document

saveToModel

public boolean saveToModel()
Specified by:
saveToModel in interface Document
See Also:
se.kmr.scam.editor.gui.Document#saveToModel()

setExtraModel

public void setExtraModel(Model extraModel)
Sets the extraModel.

Specified by:
setExtraModel in interface Document
Parameters:
extraModel - The extraModel to set

setFormModel

public void setFormModel(Model formModel)
Sets the formModel.

Specified by:
setFormModel in interface Document
Parameters:
formModel - The formModel to set

setName

public void setName(String name)
Sets the name.

Specified by:
setName in interface Document
Parameters:
name - The name to set

setUri

public void setUri(String uri)
Sets the uri.

Parameters:
uri - The uri to set

setValueModel

public void setValueModel(Model valueModel)
Sets the valueModel.

Specified by:
setValueModel in interface Document
Parameters:
valueModel - The valueModel to set

getQueryModel

public Model getQueryModel()
Returns the queryModel.

Specified by:
getQueryModel in interface Document
Returns:
Model

setQueryModel

public void setQueryModel(Model queryModel)
Sets the queryModel.

Specified by:
setQueryModel in interface Document
Parameters:
queryModel - The queryModel to set

isItem

public boolean isItem()
Returns the isItem.

Specified by:
isItem in interface Document
Returns:
boolean

setIsItem

public void setIsItem(boolean isItem)
Sets the isItem.

Parameters:
isItem - The isItem to set

getStatus

public int getStatus()
Specified by:
getStatus in interface Document
Returns:

setStatus

public final void setStatus(int status)
Specified by:
setStatus in interface Document
Parameters:
status -

refreshFormNode

public void refreshFormNode()
Specified by:
refreshFormNode in interface Document

refresh

public void refresh()
Specified by:
refresh in interface Document

removeFromModel

public boolean removeFromModel()
Specified by:
removeFromModel in interface Document

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener pcl)
Specified by:
addPropertyChangeListener in interface Document

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener pcl)
Specified by:
removePropertyChangeListener in interface Document


Copyright © 2003 SCAM. All Rights Reserved.