org.xpcards.model
Class ProjectSource
java.lang.Object
org.xpcards.model.ModelElement
org.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
| 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 |
ProjectSource
public ProjectSource()
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.