org.sourcejammer.client.filesys
Class StoredFileInfoBean
java.lang.Object
|
+--org.sourcejammer.client.filesys.StoredFileInfoBean
- All Implemented Interfaces:
- java.io.Serializable
- public class StoredFileInfoBean
- extends java.lang.Object
- implements java.io.Serializable
This class represents information about a file from SourceJammer that has
been stored on a client's file system. The information is used to determine
whether the entire file needs to be retrieved from the server when the file
is requested again.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
msName
private java.lang.String msName
mlSourceVersionUniqueID
private long mlSourceVersionUniqueID
mlNumBytes
private long mlNumBytes
mlDate
private long mlDate
msServerURL
private java.lang.String msServerURL
msArchiveName
private java.lang.String msArchiveName
StoredFileInfoBean
public StoredFileInfoBean()
setName
public void setName(java.lang.String s)
getName
public java.lang.String getName()
setSourceVersionUniqueID
public void setSourceVersionUniqueID(long l)
getSourceVersionUniqueID
public long getSourceVersionUniqueID()
setNumBytes
public void setNumBytes(long l)
getNumBytes
public long getNumBytes()
setDate
public void setDate(long l)
- Date is stored as a long, using Date.getTime().
setDate
public void setDate(java.util.Date d)
getDate
public long getDate()
getArchiveName
public java.lang.String getArchiveName()
setArchiveName
public void setArchiveName(java.lang.String s)
getServerURL
public java.lang.String getServerURL()
setServerURL
public void setServerURL(java.lang.String s)
equals
public boolean equals(java.lang.Object o)
- Returns true if o is a StoredFileInfoBean and all properties
of o are the same as the properties of this object. Otherwise,
returns false.
- Overrides:
equals
in class java.lang.Object
equalsIgnoreVersion
public boolean equalsIgnoreVersion(java.lang.Object o)
- Returns true if o is a StoredFileInfoBean and all properties
of o (other than Version) are the same as the properties of this object. Otherwise,
returns false.
Copyright © 2003 Soucejammer project.