Class PhysicalFile
- java.lang.Object
-
- java.util.Observable
-
- org.hpccsystems.ws.client.utils.DataSingleton
-
- org.hpccsystems.ws.client.platform.PhysicalFile
-
public class PhysicalFile extends DataSingleton
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PhysicalFile.Notification
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object aThat)
protected void
fastRefresh()
protected void
fullRefresh()
static PhysicalFile
get(Platform platform, String name)
Gets the.static PhysicalFile
get(Platform platform, org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper fileStruct)
Gets the.Long
getFilesize()
Gets the filesize.boolean
getIsDir()
Gets the checks if is dir.String
getModifiedtime()
Gets the modifiedtime.String
getName()
Gets the name.String
getPath()
Gets the path.int
hashCode()
protected boolean
isComplete()
void
update(org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper file)
Update.-
Methods inherited from class org.hpccsystems.ws.client.utils.DataSingleton
monitor
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
get
public static PhysicalFile get(Platform platform, String name)
Gets the.- Parameters:
platform
- the platformname
- the name- Returns:
- the physical file
-
get
public static PhysicalFile get(Platform platform, org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper fileStruct)
Gets the.- Parameters:
platform
- the platformfileStruct
- the file struct- Returns:
- the physical file
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
getFilesize
public Long getFilesize()
Gets the filesize.- Returns:
- the filesize
-
getModifiedtime
public String getModifiedtime()
Gets the modifiedtime.- Returns:
- the modifiedtime
-
getIsDir
public boolean getIsDir()
Gets the checks if is dir.- Returns:
- the checks if is dir
-
getPath
public String getPath()
Gets the path.- Returns:
- the path
-
isComplete
protected boolean isComplete()
- Specified by:
isComplete
in classDataSingleton
-
fastRefresh
protected void fastRefresh()
- Specified by:
fastRefresh
in classDataSingleton
-
fullRefresh
protected void fullRefresh()
- Specified by:
fullRefresh
in classDataSingleton
-
update
public void update(org.hpccsystems.ws.client.wrappers.gen.filespray.PhysicalFileStructWrapper file)
Update.- Parameters:
file
- the file
-
equals
public boolean equals(Object aThat)
- Specified by:
equals
in classDataSingleton
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classDataSingleton
-
-