public class Ds3Object
extends java.lang.Object
Constructor and Description |
---|
Ds3Object()
This constructor is used for XML Serialization.
|
Ds3Object(java.lang.String name)
Use this constructor when getting files from DS3.
|
Ds3Object(java.lang.String name,
long size)
Use this constructor when putting files to DS3.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
long |
getSize() |
int |
hashCode() |
void |
setName(java.lang.String name) |
void |
setSize(long size) |
java.lang.String |
toString() |
public Ds3Object()
public Ds3Object(java.lang.String name, long size)
name
- The name of the object that will be put to DS3size
- The size of the object that will be put to DS3public Ds3Object(java.lang.String name)
name
- the name of the object to get from DS3public java.lang.String getName()
public void setName(java.lang.String name)
public long getSize()
public void setSize(long size)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object