Class FleetEntry
java.lang.Object
org.deltava.beans.fleet.LibraryEntry
org.deltava.beans.fleet.FleetEntry
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LibraryEntry>,Auditable,ViewEntry,Cacheable
A bean to store information about Fleet Library entries.
- Since:
- 1.0
- Version:
- 7.0
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUpdates the date this entry was last modified.intReturns the major version of the resource.intReturns the minor version of the resource.intReturns the sub-minor version of the resource.abstract StringReturns a string representation of the version.voidUpdates the date this entry was last modified.voidsetVersion(int major, int minor, int subMinor) Updates the version number of this resource.Methods inherited from class org.deltava.beans.fleet.LibraryEntry
cacheKey, compareTo, file, getAuditID, getDescription, getDownloadCount, getFileName, getFullName, getName, getOwner, getRowClassName, getSecurity, getSize, hashCode, setDescription, setDownloadCount, setName, setOwner, setSecurity, setSize, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.deltava.beans.Auditable
getAuditType, isCrossApp
-
Constructor Details
-
FleetEntry
-
-
Method Details
-
getMajorVersion
public int getMajorVersion()Returns the major version of the resource. (eg. 3.1.2)- Returns:
- the major version number
- See Also:
-
getMinorVersion
public int getMinorVersion()Returns the minor version of the resource. (eg. 3.1.2)- Returns:
- the minor version number
- See Also:
-
getSubVersion
public int getSubVersion()Returns the sub-minor version of the resource. (eg. 3.1.2)- Returns:
- the sub-minor version number
- See Also:
-
getLastModified
Updates the date this entry was last modified.- Returns:
- the last modification date/time
- See Also:
-
setVersion
public void setVersion(int major, int minor, int subMinor) Updates the version number of this resource.- Parameters:
major- the major version numberminor- the minor version numbersubMinor- the sub-minor version number- See Also:
-
setLastModified
Updates the date this entry was last modified.- Parameters:
dt- the last modified date/time- See Also:
-
getVersion
Returns a string representation of the version.- Returns:
- a version string
-