public class ResourceElementBean extends Object implements Comparable<ResourceElementBean>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static com.google.gwt.view.client.ProvidesKey<ResourceElementBean> |
KEY_PROVIDER
The key provider that provides the unique ID of a bean.
|
| Constructor and Description |
|---|
ResourceElementBean()
Default constructor.
|
ResourceElementBean(ResourceElementBean another)
Copy constructor.
|
ResourceElementBean(ResourceElementBean parent,
String name,
boolean isFolder,
Integer childrenSize,
String fullPath)
Instantiates a new resource element bean.
|
ResourceElementBean(String name,
boolean toBeAdded,
boolean isFolder,
ResourceElementBean parent,
Integer childrenSize,
String fullPath,
String originalIdInWorkspace,
String mimeType,
String url,
String description,
String organizationNameDatasetParent)
Instantiates a new resource element bean.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ResourceElementBean o)
Compare to.
|
boolean |
equals(Object o)
Equals.
|
Integer |
getChildrenSize()
Gets the children size.
|
String |
getDescription()
Gets the description.
|
String |
getEditableName()
Gets the editable name.
|
String |
getFullPath()
Gets the full path.
|
String |
getMimeType()
Gets the mime type.
|
String |
getName()
Gets the name.
|
String |
getOrganizationNameDatasetParent()
Gets the organization name dataset parent.
|
String |
getOriginalIdInWorkspace()
Gets the original id in workspace.
|
ResourceElementBean |
getParent()
Gets the parent.
|
String |
getRootIdInWorkspace() |
List<ResourceElementBean> |
getToPublish()
Gets the to publish.
|
String |
getUrl()
Gets the url.
|
boolean |
isFolder()
Checks if is folder.
|
boolean |
isToBeAdded()
Checks if is to be added.
|
void |
setChildrenSize(Integer size)
Sets the children size.
|
void |
setDescription(String description)
Sets the description.
|
void |
setEditableName(String newName)
Sets the editable name.
|
void |
setFolder(boolean isFolder)
Sets the folder.
|
void |
setFullPath(String fullPath)
Sets the full path.
|
void |
setMimeType(String mimeType)
Sets the mime type.
|
void |
setName(String name)
Sets the name.
|
void |
setOrganizationNameDatasetParent(String organizationNameDatasetParent)
Sets the organization name dataset parent.
|
void |
setOriginalIdInWorkspace(String originalIdInWorkspace)
Sets the original id in workspace.
|
void |
setParent(ResourceElementBean parent)
Sets the parent.
|
void |
setRootIdInWorkspace(String rootIdInWorkspace) |
void |
setToBeAdded(boolean toBeAdded)
Sets the to be added.
|
void |
setToPublish(List<ResourceElementBean> toPublish)
Sets the to publish.
|
void |
setUrl(String url)
Sets the url.
|
String |
toString() |
public static final com.google.gwt.view.client.ProvidesKey<ResourceElementBean> KEY_PROVIDER
public ResourceElementBean(ResourceElementBean another)
another - the anotherpublic ResourceElementBean()
public ResourceElementBean(ResourceElementBean parent, String name, boolean isFolder, Integer childrenSize, String fullPath)
parent - the parentname - the nameisFolder - the is folderchildrenSize - the children sizefullPath - the full pathpublic ResourceElementBean(String name, boolean toBeAdded, boolean isFolder, ResourceElementBean parent, Integer childrenSize, String fullPath, String originalIdInWorkspace, String mimeType, String url, String description, String organizationNameDatasetParent)
name - the nametoBeAdded - the to be addedisFolder - the is folderparent - the parentchildrenSize - the children sizefullPath - the full pathoriginalIdInWorkspace - the original id in workspacemimeType - the mime typeurl - the urldescription - the descriptionorganizationNameDatasetParent - the organization name dataset parentpublic ResourceElementBean getParent()
public void setParent(ResourceElementBean parent)
parent - the new parentpublic String getName()
public void setName(String name)
name - the new namepublic boolean isToBeAdded()
public void setToBeAdded(boolean toBeAdded)
toBeAdded - the new to be addedpublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the new mime typepublic String getUrl()
public void setUrl(String url)
url - the new urlpublic String getDescription()
public void setDescription(String description)
description - the new descriptionpublic String getOrganizationNameDatasetParent()
public void setOrganizationNameDatasetParent(String organizationNameDatasetParent)
organizationNameDatasetParent - the new organization name dataset parentpublic boolean isFolder()
public void setFolder(boolean isFolder)
isFolder - the new folderpublic Integer getChildrenSize()
public void setChildrenSize(Integer size)
size - the new children sizepublic String getFullPath()
public void setFullPath(String fullPath)
fullPath - the new full pathpublic String getOriginalIdInWorkspace()
public void setOriginalIdInWorkspace(String originalIdInWorkspace)
originalIdInWorkspace - the new original id in workspacepublic String getEditableName()
public void setEditableName(String newName)
newName - the new editable namepublic List<ResourceElementBean> getToPublish()
public void setToPublish(List<ResourceElementBean> toPublish)
toPublish - the new to publishpublic boolean equals(Object o)
public int compareTo(ResourceElementBean o)
compareTo in interface Comparable<ResourceElementBean>o - the opublic String getRootIdInWorkspace()
public void setRootIdInWorkspace(String rootIdInWorkspace)
Copyright © 2021. All Rights Reserved.