|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tassl.application.cometcloud.FileProperties
public class FileProperties
Information about files or directories
Constructor Summary | |
---|---|
FileProperties(java.lang.String name,
java.lang.String location,
double size,
java.lang.String zone,
java.lang.String sitename)
|
|
FileProperties(java.lang.String name,
java.lang.String location,
double size,
java.lang.String zone,
java.lang.String sitename,
java.util.List<java.lang.String> constraints)
|
Method Summary | |
---|---|
FileProperties |
duplicate()
Return a new Object that is a deep copy of the current one This is used to avoid clone. |
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getConstraints()
List of sitenames and zones where the dataset can be moved |
java.lang.String |
getLocation()
URI of the dataset. |
java.lang.String |
getName()
When the dataset refers to a file, this is the name of the file |
java.lang.String |
getSitename()
Name of the site where the dataset is located |
double |
getSize()
When the dataset refers to a file, this is its size |
java.lang.String |
getZone()
Zone where the dataset is located |
int |
hashCode()
|
void |
setConstraints(java.util.List<java.lang.String> constraints)
|
void |
setLocation(java.lang.String location)
|
void |
setName(java.lang.String name)
|
void |
setSitename(java.lang.String sitename)
|
void |
setSize(double size)
|
void |
setZone(java.lang.String zone)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileProperties(java.lang.String name, java.lang.String location, double size, java.lang.String zone, java.lang.String sitename, java.util.List<java.lang.String> constraints)
public FileProperties(java.lang.String name, java.lang.String location, double size, java.lang.String zone, java.lang.String sitename)
Method Detail |
---|
public java.lang.String getZone()
public java.lang.String getSitename()
public java.util.List<java.lang.String> getConstraints()
public java.lang.String getName()
public java.lang.String getLocation()
public double getSize()
public void setName(java.lang.String name)
public void setLocation(java.lang.String location)
public void setSize(double size)
public void setZone(java.lang.String zone)
public void setSitename(java.lang.String sitename)
public void setConstraints(java.util.List<java.lang.String> constraints)
public java.lang.String toString()
toString
in class java.lang.Object
public FileProperties duplicate()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |