public class StoredObject extends Object
| Constructor and Description |
|---|
StoredObject() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreationDate()
Gets the date of the creation
|
Date |
getLastModified()
Gets the date of the last modification
|
long |
getResourceLength()
Gets the length of the resource content
|
boolean |
isFolder()
Determines whether the StoredObject is a folder or a resource
|
boolean |
isNullResource()
Gets the state of the resource
|
boolean |
isResource()
Determines whether the StoredObject is a folder or a resource
|
void |
setCreationDate(Date d)
Sets the date of the creation
|
void |
setFolder(boolean f)
Sets a new StoredObject as a collection or resource
|
void |
setLastModified(Date d)
Sets the date of the last modification
|
void |
setNullResource(boolean f)
Sets a StoredObject as a lock-null resource
|
void |
setResourceLength(long l)
Sets the length of the resource content
|
public boolean isFolder()
public boolean isResource()
public void setFolder(boolean f)
f - true - collection ; false - resourcepublic Date getLastModified()
public void setLastModified(Date d)
d - date of the last modificationpublic Date getCreationDate()
public void setCreationDate(Date d)
d - date of the creationpublic long getResourceLength()
public void setResourceLength(long l)
l - the length of the resource contentpublic boolean isNullResource()
public void setNullResource(boolean f)
f - true to set the resource as lock-null resourceCopyright © 2006-2015. All Rights Reserved.