|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Versionable
An object which can have multiple Version
s. Please see the list of
known implementing classes.
In general, the data associated with a version instance will be attached to the classes that implements the Version interface, not this interface. Classes that implement this interface should have a collection of references to the versions, and a way to navigate those versions.
Version
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
static java.lang.String |
SCM_REVISION
|
Method Summary | |
---|---|
Version |
getVersion(int versionNumber)
Get the specified Version of this Versionable object. |
Version[] |
getVersions()
Get all the versions that exist of this Versionable object. |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2009_2010
static final java.lang.String SCM_REVISION
Method Detail |
---|
Version[] getVersions() throws DeletedException
This object should implement the Versionable
interface,
and versions of this object should implement the Version
interface.
getVersion(int)
Version getVersion(int versionNumber) throws DeletedException
versionNumber
- the specified version to get of this object.
getVersions()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |