|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpl.mipl.mdms.FileService.komodo.ui.savannah.SavannahFeiTableElement
public class SavannahFeiTableElement
Purpose: Implementation of SavannahTableElement for FEI file system.
Copyright 2004, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2004.
============================================================================ Modification History : ---------------------- Date Who What ---------------------------------------------------------------------------- 09/08/2004 Nick Initial Release ============================================================================
Field Summary | |
---|---|
protected java.lang.String |
_comment
|
protected java.lang.String |
_feiType
|
protected long |
_fileModified
|
protected java.lang.String |
_filename
|
protected java.lang.String |
_filepath
|
protected long |
_filesize
|
protected int |
_filetype
|
protected boolean |
_isParent
|
protected java.lang.String |
_parent
|
protected java.lang.String |
_serverGroup
|
Fields inherited from interface jpl.mipl.mdms.FileService.komodo.ui.savannah.SavannahTableElement |
---|
DATE_UNKNOWN, SIZE_UNKNOWN, TYPE_FILE, TYPE_FOLDER |
Constructor Summary | |
---|---|
SavannahFeiTableElement(java.lang.String group,
java.lang.String feiType,
java.lang.String filename,
long filesize,
long modDate,
java.lang.String comment,
boolean isParent)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if this object is equal to the other object. |
java.lang.String |
getComment()
Returns the comment string associated with this element. |
java.lang.String |
getFeiGroup()
Returns the server group name |
java.lang.String |
getFeiType()
Returns the Fei filetype name |
long |
getModificationDate()
Returns the last modificiation date of entry, or -1 if not defined. |
java.lang.String |
getName()
Returns the element file name. |
java.lang.String |
getParent()
Returns string representation of filetype if file or server group if filetype folder. |
java.lang.String |
getPath()
Returns the absolute path of the file. |
long |
getSize()
Returns the filesize if known of SIZE_UNKNOWN if size is not assigned a known value. |
int |
getType()
Returns the type of file to differentiate between a normal file and a folder, one of TYPE_FILE or TYPE_FOLDER. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isParent()
Returns true if element is considered a parent node in the file heirarchy, false otherwise. |
java.lang.String |
toString()
Returns the filename of the element which is either the FEI type or the filename itself depending on type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String _serverGroup
protected java.lang.String _feiType
protected java.lang.String _filename
protected java.lang.String _parent
protected java.lang.String _filepath
protected long _filesize
protected long _fileModified
protected int _filetype
protected java.lang.String _comment
protected boolean _isParent
Constructor Detail |
---|
public SavannahFeiTableElement(java.lang.String group, java.lang.String feiType, java.lang.String filename, long filesize, long modDate, java.lang.String comment, boolean isParent)
Method Detail |
---|
public java.lang.String toString()
toString
in interface SavannahTableElement
toString
in class java.lang.Object
public int getType()
getType
in interface SavannahTableElement
public long getSize()
getSize
in interface SavannahTableElement
public java.lang.String getName()
getName
in interface SavannahTableElement
public java.lang.String getPath()
getPath
in interface SavannahTableElement
public long getModificationDate()
getModificationDate
in interface SavannahTableElement
public java.lang.String getComment()
public boolean isParent()
SavannahTableElement
isParent
in interface SavannahTableElement
public boolean equals(java.lang.Object obj)
equals
in interface SavannahTableElement
equals
in class java.lang.Object
obj
- The object with which this is compared.
public int hashCode()
hashCode
in interface SavannahTableElement
hashCode
in class java.lang.Object
public java.lang.String getFeiType()
public java.lang.String getFeiGroup()
public java.lang.String getParent()
getParent
in interface SavannahTableElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |