org.xpcards.model
Class ProjectSource

java.lang.Object
  extended byorg.xpcards.model.ModelElement
      extended byorg.xpcards.model.ProjectSource
All Implemented Interfaces:
IIdentifiedInstance, java.io.Serializable
Direct Known Subclasses:
FileProjectSource, NewProjectSource

public abstract class ProjectSource
extends ModelElement

Author:
Mikhail Galyutin
See Also:
Serialized Form

Constructor Summary
ProjectSource()
           
 
Method Summary
abstract  void commitProject()
          Save opearation, have to update modified flag
 boolean equals(java.lang.Object obj)
           
 ModelElement[] getChildren()
           
abstract  Project getProject()
           
abstract  boolean isOpened()
          Indicates if the project is opened in Collection
abstract  void setOpened(boolean opened)
           
abstract  void updateProject()
          Load operation, have to update modified flag
 
Methods inherited from class org.xpcards.model.ModelElement
addModelElementListener, getCreated, getCreatedBy, getDescription, getId, getName, getParent, isCommited, propagateCommitedForParents, removeModelElementListener, setCommited, setCommitedForSelfAndAncestors, setCommitedForSelfAndChildren, setCommitedForSelfAndDescendants, setCreated, setCreatedBy, setDescription, setId, setName, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectSource

public ProjectSource()
Method Detail

isOpened

public abstract boolean isOpened()
Indicates if the project is opened in Collection

Returns:

setOpened

public abstract void setOpened(boolean opened)

updateProject

public abstract void updateProject()
                            throws java.lang.Exception
Load operation, have to update modified flag

Throws:
java.lang.Exception

commitProject

public abstract void commitProject()
                            throws java.lang.Exception
Save opearation, have to update modified flag

Throws:
java.lang.Exception

getProject

public abstract Project getProject()
Returns:

getChildren

public ModelElement[] getChildren()
Overrides:
getChildren in class ModelElement
See Also:
ModelElement.getChildren()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class ModelElement
See Also:
Object.equals(java.lang.Object)


Copyright © 2004 Mikhail Galyutin. All Rights Reserved.