Class DatasetBean
- java.lang.Object
-
- org.gcube.portlets.widgets.ckandatapublisherwidget.shared.DatasetBean
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable,Serializable
public class DatasetBean extends Object implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
This bean will contain during ckan metadata creation information related to the future build. revisited by @author Francesco Mangiacrapa at ISTI-CNR- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatasetBean()Instantiates a new dataset bean.DatasetBean(String id, String title, String description, Map<String,List<String>> customFields, List<String> tags, String license, boolean visible, String source, long version, String authorName, String authorSurname, String authorEmail, String maintainer, String maintainerEmail, String ownerIdentifier, List<OrganizationBean> organizationList, String selectedOrganization, ResourceElementBean resourceRoot, List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean> metadataList, List<OrganizationBean> groups, List<String> tagsVocabulary)Create a metadata bean object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthorEmail()Gets the author email.StringgetAuthorFullName()Gets the author full name.StringgetAuthorName()Gets the author name.StringgetAuthorSurname()Gets the author surname.StringgetChosenType()Gets the chosen type.StringgetCkanName()List<ResourceElementBean>getCkanResources()Gets the ckan resources.Map<String,List<String>>getCustomFields()Gets the custom fields.StringgetDescription()Gets the description.List<OrganizationBean>getGroups()Gets the groups.List<OrganizationBean>getGroupsForceCreation()Gets the groups force creation.StringgetId()Gets the id.StringgetLicense()Gets the license.StringgetMaintainer()Gets the maintainer.StringgetMaintainerEmail()Gets the maintainer email.List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean>getMetadataList()Gets the metadata list.List<OrganizationBean>getOrganizationList()Gets the organization list.StringgetOwnerIdentifier()Gets the owner identifier.ResourceElementBeangetResourceRoot()Gets the resource root.StringgetSelectedOrganization()Gets the selected organization.StringgetSource()Gets the source.List<String>getTags()Gets the tags.List<String>getTagsVocabulary()Gets the tags vocabulary.StringgetTitle()Gets the title.longgetVersion()Gets the version.booleangetVisibility()Gets the visibility.StringgetWsFolderId()voidsetAuthorEmail(String authorEmail)Sets the author email.voidsetAuthorFullName(String authorFullName)Sets the author full name.voidsetAuthorName(String authorName)Sets the author name.voidsetAuthorSurname(String authorSurname)Sets the author surname.voidsetChosenType(String chosenType)Sets the chosen type.voidsetCkanName(String ckanName)voidsetCustomFields(Map<String,List<String>> customFields)Sets the custom fields.voidsetDescription(String description)Sets the description.voidsetGroups(List<OrganizationBean> groups)Sets the groups.voidsetGroupsForceCreation(List<OrganizationBean> groupsForceCreation)Sets the groups force creation.voidsetId(String id)Sets the id.voidsetLicense(String license)Sets the license.voidsetMaintainer(String maintainer)Sets the maintainer.voidsetMaintainerEmail(String maintainerEmail)Sets the maintainer email.voidsetMetadataList(List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean> metadataListTypes)Sets the metadata list.voidsetOrganizationList(List<OrganizationBean> organizationList)Sets the organization list.voidsetOwnerIdentifier(String ownerIdentifier)Sets the owner identifier.voidsetResourceRoot(ResourceElementBean resourceRoot)Sets the resource root.voidsetResources(List<ResourceElementBean> resources)Sets the resources.voidsetSelectedOrganization(String selectedOrganization)Sets the selected organization.voidsetSource(String source)Sets the source.voidsetTags(List<String> tags)Sets the tags.voidsetTagsVocabulary(List<String> tagsVocabulary)Sets the tags vocabulary.voidsetTitle(String title)Sets the title.voidsetVersion(long version)Sets the version.voidsetVisibile(boolean visibile)Sets the visibile.voidsetWSFolderId(String folderId)StringtoString()
-
-
-
Constructor Detail
-
DatasetBean
public DatasetBean()
Instantiates a new dataset bean.
-
DatasetBean
public DatasetBean(String id, String title, String description, Map<String,List<String>> customFields, List<String> tags, String license, boolean visible, String source, long version, String authorName, String authorSurname, String authorEmail, String maintainer, String maintainerEmail, String ownerIdentifier, List<OrganizationBean> organizationList, String selectedOrganization, ResourceElementBean resourceRoot, List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean> metadataList, List<OrganizationBean> groups, List<String> tagsVocabulary)
Create a metadata bean object.- Parameters:
id- the idtitle- the titledescription- the descriptioncustomFields- the custom fieldstags- the tagslicense- the licensevisible- the visiblesource- the sourceversion- the versionauthorName- the author nameauthorSurname- the author surnameauthorEmail- the author emailmaintainer- the maintainermaintainerEmail- the maintainer emailownerIdentifier- the owner identifierorganizationList- the organization listselectedOrganization- the selected organizationresourceRoot- the resource rootmetadataList- the metadata listgroups- the groupstagsVocabulary- the tags vocabulary
-
-
Method Detail
-
getCkanName
public String getCkanName()
-
setCkanName
public void setCkanName(String ckanName)
-
getChosenType
public String getChosenType()
Gets the chosen type.- Returns:
- the chosen type
-
setChosenType
public void setChosenType(String chosenType)
Sets the chosen type.- Parameters:
chosenType- the new chosen type
-
getMetadataList
public List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean> getMetadataList()
Gets the metadata list.- Returns:
- the metadata list
-
setMetadataList
public void setMetadataList(List<org.gcube.portlets.widgets.mpformbuilder.shared.metadata.MetaDataProfileBean> metadataListTypes)
Sets the metadata list.- Parameters:
metadataListTypes- the new metadata list
-
getId
public String getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(String id)
Sets the id.- Parameters:
id- the new id
-
getOwnerIdentifier
public String getOwnerIdentifier()
Gets the owner identifier.- Returns:
- the owner identifier
-
setOwnerIdentifier
public void setOwnerIdentifier(String ownerIdentifier)
Sets the owner identifier.- Parameters:
ownerIdentifier- the new owner identifier
-
getTitle
public String getTitle()
Gets the title.- Returns:
- the title
-
setTitle
public void setTitle(String title)
Sets the title.- Parameters:
title- the new title
-
getDescription
public String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description- the new description
-
getCustomFields
public Map<String,List<String>> getCustomFields()
Gets the custom fields.- Returns:
- the custom fields
-
setCustomFields
public void setCustomFields(Map<String,List<String>> customFields)
Sets the custom fields.- Parameters:
customFields- the custom fields
-
getLicense
public String getLicense()
Gets the license.- Returns:
- the license
-
setLicense
public void setLicense(String license)
Sets the license.- Parameters:
license- the new license
-
getVisibility
public boolean getVisibility()
Gets the visibility.- Returns:
- the visibility
-
setVisibile
public void setVisibile(boolean visibile)
Sets the visibile.- Parameters:
visibile- the new visibile
-
getSource
public String getSource()
Gets the source.- Returns:
- the source
-
setSource
public void setSource(String source)
Sets the source.- Parameters:
source- the new source
-
getVersion
public long getVersion()
Gets the version.- Returns:
- the version
-
setVersion
public void setVersion(long version)
Sets the version.- Parameters:
version- the new version
-
getAuthorName
public String getAuthorName()
Gets the author name.- Returns:
- the author name
-
setAuthorName
public void setAuthorName(String authorName)
Sets the author name.- Parameters:
authorName- the new author name
-
getAuthorSurname
public String getAuthorSurname()
Gets the author surname.- Returns:
- the author surname
-
setAuthorSurname
public void setAuthorSurname(String authorSurname)
Sets the author surname.- Parameters:
authorSurname- the new author surname
-
getAuthorEmail
public String getAuthorEmail()
Gets the author email.- Returns:
- the author email
-
setAuthorEmail
public void setAuthorEmail(String authorEmail)
Sets the author email.- Parameters:
authorEmail- the new author email
-
getMaintainer
public String getMaintainer()
Gets the maintainer.- Returns:
- the maintainer
-
setMaintainer
public void setMaintainer(String maintainer)
Sets the maintainer.- Parameters:
maintainer- the new maintainer
-
getMaintainerEmail
public String getMaintainerEmail()
Gets the maintainer email.- Returns:
- the maintainer email
-
setMaintainerEmail
public void setMaintainerEmail(String maintainerEmail)
Sets the maintainer email.- Parameters:
maintainerEmail- the new maintainer email
-
getOrganizationList
public List<OrganizationBean> getOrganizationList()
Gets the organization list.- Returns:
- the organization list
-
setOrganizationList
public void setOrganizationList(List<OrganizationBean> organizationList)
Sets the organization list.- Parameters:
organizationList- the new organization list
-
getSelectedOrganization
public String getSelectedOrganization()
Gets the selected organization.- Returns:
- the selected organization
-
setSelectedOrganization
public void setSelectedOrganization(String selectedOrganization)
Sets the selected organization.- Parameters:
selectedOrganization- the new selected organization
-
getResourceRoot
public ResourceElementBean getResourceRoot()
Gets the resource root.- Returns:
- the resource root
-
setResourceRoot
public void setResourceRoot(ResourceElementBean resourceRoot)
Sets the resource root.- Parameters:
resourceRoot- the new resource root
-
getAuthorFullName
public String getAuthorFullName()
Gets the author full name.- Returns:
- the author full name
-
setAuthorFullName
public void setAuthorFullName(String authorFullName)
Sets the author full name.- Parameters:
authorFullName- the new author full name
-
getGroups
public List<OrganizationBean> getGroups()
Gets the groups.- Returns:
- the groups
-
setGroups
public void setGroups(List<OrganizationBean> groups)
Sets the groups.- Parameters:
groups- the new groups
-
getTagsVocabulary
public List<String> getTagsVocabulary()
Gets the tags vocabulary.- Returns:
- the tags vocabulary
-
setTagsVocabulary
public void setTagsVocabulary(List<String> tagsVocabulary)
Sets the tags vocabulary.- Parameters:
tagsVocabulary- the new tags vocabulary
-
getGroupsForceCreation
public List<OrganizationBean> getGroupsForceCreation()
Gets the groups force creation.- Returns:
- the groups force creation
-
setGroupsForceCreation
public void setGroupsForceCreation(List<OrganizationBean> groupsForceCreation)
Sets the groups force creation.- Parameters:
groupsForceCreation- the new groups force creation
-
setResources
public void setResources(List<ResourceElementBean> resources)
Sets the resources.- Parameters:
resources- the new resources
-
getCkanResources
public List<ResourceElementBean> getCkanResources()
Gets the ckan resources.- Returns:
- the ckan resources
-
setWSFolderId
public void setWSFolderId(String folderId)
-
getWsFolderId
public String getWsFolderId()
-
-