Class 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 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 id
        title - the title
        description - the description
        customFields - the custom fields
        tags - the tags
        license - the license
        visible - the visible
        source - the source
        version - the version
        authorName - the author name
        authorSurname - the author surname
        authorEmail - the author email
        maintainer - the maintainer
        maintainerEmail - the maintainer email
        ownerIdentifier - the owner identifier
        organizationList - the organization list
        selectedOrganization - the selected organization
        resourceRoot - the resource root
        metadataList - the metadata list
        groups - the groups
        tagsVocabulary - 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
      • getTags

        public List<String> getTags()
        Gets the tags.
        Returns:
        the tags
      • setTags

        public void setTags​(List<String> tags)
        Sets the tags.
        Parameters:
        tags - the new tags
      • 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
      • 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()