Package com.woorea.openstack.swift.model
Class Object
java.lang.Object
com.woorea.openstack.swift.model.Object
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBytes()
getHash()
getName()
void
setBytes
(int bytes) void
setContentType
(String contentType) void
void
setLastModified
(Calendar lastModified) void
void
-
Field Details
-
subdir
-
name
-
hash
-
bytes
private int bytes -
contentType
-
lastModified
-
-
Constructor Details
-
Object
public Object()
-
-
Method Details
-
getSubdir
- Returns:
- the subdir
-
setSubdir
- Parameters:
subdir
- the subdir to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name
- the name to set
-
getHash
- Returns:
- the hash
-
setHash
- Parameters:
hash
- the hash to set
-
getBytes
public int getBytes()- Returns:
- the bytes
-
setBytes
public void setBytes(int bytes) - Parameters:
bytes
- the bytes to set
-
getContentType
- Returns:
- the contentType
-
setContentType
- Parameters:
contentType
- the contentType to set
-
getLastModified
- Returns:
- the lastModified
-
setLastModified
- Parameters:
lastModified
- the lastModified to set
-