|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.fileserver.HWMFileInfo
public class HWMFileInfo
Title: HWMFileInfo
Description: This class contains the information for a file
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMFileInfo()
Constructor |
Method Summary | |
---|---|
short |
GetCheckedOut()
Get the short indicating if the file is checked out. |
java.lang.String |
GetDate()
Get the date |
java.lang.String |
GetFDesc()
Get the file description |
java.io.File |
GetFile()
Get the file to transfer |
int |
GetFileID()
Get the file id |
java.lang.String |
GetFileName()
Get the file name |
java.lang.String |
GetFileType()
Get the file type |
java.io.InputStream |
GetInputStream()
Get the byte array input stream for the file |
java.lang.String |
GetRevision()
Get the revision name |
java.lang.String |
GetTime()
Get the time |
java.lang.String |
GetUser()
Get the user name |
java.lang.String |
GetVerDesc()
Get the version description |
int |
GetVersion()
Get the file version |
boolean |
HasRevisions()
Get the flag indicating if the file has more revisions |
boolean |
HasVersions()
Get the flag indicating if the file has more versions under this revision |
boolean |
IsCheckedOut()
Get the flag indicating if the file has been checked out. |
void |
SetCheckedOut(boolean bCheckedOut)
Set the flag indicating if the file is checked out. |
void |
SetCheckedOut(short nCheckedOut)
Set the short indicating if the file is checked out. |
void |
SetDate(java.lang.String strDate)
Set the date |
void |
SetFDesc(java.lang.String strFDesc)
Set the file description |
void |
SetFile(java.io.File file)
Set the file to transfer |
void |
SetFileID(int nFileID)
Set the file id |
void |
SetFileName(java.lang.String strFName)
Set the file name |
void |
SetFileType(java.lang.String strFType)
Set the file type |
void |
SetHasRevisions(boolean bHasRevisions)
Set the flag indicating if the file has more revisions |
void |
SetHasVersions(boolean bHasVersions)
Set the flag indicating if the file has more versions under this revision |
void |
SetInputStream(java.io.InputStream is)
Set the input stream for the file |
void |
SetRevision(java.lang.String strRev)
Set the revision name |
void |
SetTime(java.lang.String strTime)
Set the time |
void |
SetUser(java.lang.String strUser)
Set the user name |
void |
SetVerDesc(java.lang.String strVerDesc)
Set the version description |
void |
SetVersion(int nVer)
Set the file version |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMFileInfo()
Method Detail |
---|
public void SetFileName(java.lang.String strFName)
strFName
- The file namepublic java.lang.String GetFileName()
public void SetFileType(java.lang.String strFType)
strFType
- The file typepublic java.lang.String GetFileType()
public void SetFileID(int nFileID)
nFileID
- The file idpublic int GetFileID()
public void SetUser(java.lang.String strUser)
strUser
- The user namepublic java.lang.String GetUser()
public void SetFDesc(java.lang.String strFDesc)
strFDesc
- The file descriptionpublic java.lang.String GetFDesc()
public void SetVerDesc(java.lang.String strVerDesc)
strVerDesc
- The version descriptionpublic java.lang.String GetVerDesc()
public void SetRevision(java.lang.String strRev)
strRev
- The revision namepublic java.lang.String GetRevision()
public void SetVersion(int nVer)
nVer
- The file versionpublic int GetVersion()
public void SetDate(java.lang.String strDate)
strDate
- The date this file was added/created in the file serverpublic java.lang.String GetDate()
public void SetTime(java.lang.String strTime)
strTime
- The time this file was added/created in the file serverpublic java.lang.String GetTime()
public void SetHasRevisions(boolean bHasRevisions)
bHasRevisions
- true if the file has more recent revisions else
falsepublic boolean HasRevisions()
public void SetHasVersions(boolean bHasVersions)
bHasVersions
- true if the file has more recent versions under this
revisionpublic boolean HasVersions()
public void SetCheckedOut(short nCheckedOut)
nCheckedOut
- If checked out -
HWMFileServerConstants.CONST_COUT else
HWMFileServerConstants.CONST_COUTpublic void SetCheckedOut(boolean bCheckedOut)
bCheckedOut
- If true then checked out else falsepublic short GetCheckedOut()
public boolean IsCheckedOut()
public void SetInputStream(java.io.InputStream is)
is
- The input streampublic java.io.InputStream GetInputStream()
public void SetFile(java.io.File file)
file
- The file to transferpublic java.io.File GetFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |