| java.lang.Object com.xoetrope.pm.ProjectManagementObject
All known Subclasses: com.xoetrope.pm.Person, com.xoetrope.pm.Article, com.xoetrope.pm.Contact, com.xoetrope.pm.Address, com.xoetrope.pm.ProjectGroup, com.xoetrope.pm.TelephoneNumber, com.xoetrope.pm.Project,
ProjectManagementObject | public class ProjectManagementObject implements Cloneable(Code) | | A support class for helping manage project related objects
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.2 $
|
revisionNumber | protected int revisionNumber(Code) | | |
versionNumber | protected int versionNumber(Code) | | |
ProjectManagementObject | public ProjectManagementObject(String typename)(Code) | | Construct a new managed object
Parameters: typename - the type or category of object to be managed |
getNextId | public long getNextId(String typeName)(Code) | | Get the next id for the category or type of managed object
Parameters: typeName - the type or category of object being managed the next available id |
getRevisionNumber | public int getRevisionNumber()(Code) | | Get the revision number, the revision numbering system starts at zero
the revision number |
getVersionNumber | public int getVersionNumber()(Code) | | Get the version number, the version numbering system starts at zero
the version number |
revise | public void revise()(Code) | | Increments the revision number
|
setRevisionNumber | public void setRevisionNumber(int newRevision)(Code) | | Set the new revision number
Parameters: newRevision - the new number |
setVersionNumber | public void setVersionNumber(int newVersion)(Code) | | Set the new version number. Resets the revision number to zero.
Parameters: newVersion - the new number |
|
|