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.int
Returns the major version of the resource.int
Returns the minor version of the resource.int
Returns the sub-minor version of the resource.abstract String
Returns a string representation of the version.void
Updates the date this entry was last modified.void
setVersion
(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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-