Class DataSet


  • public final class DataSet
    extends MgrObject<DataSetID>
    This class represents a dataset.
    • Constructor Detail

      • DataSet

        public DataSet()
        Creates an empty dataset
      • DataSet

        @Deprecated
        public DataSet​(String newname,
                       String newproviderAccountName,
                       boolean setAsPublic)
        Deprecated.
        DataSet constructor with name and responsible
        Parameters:
        newname - Name to be set
        newproviderAccountName - Provider account to be set
      • DataSet

        public DataSet​(String name,
                       AccountID providerAccountID,
                       boolean setAsPublic)
        DataSet constructor with name and responsible
        Parameters:
        newname - Name of the dataset
        providerAccountID - ID of the responsible provider
    • Method Detail

      • setIsPublic

        public void setIsPublic​(boolean setAsPublic)
      • getIsPublic

        public boolean getIsPublic()
      • getName

        public String getName()
        Get the name of this DataSet
        Returns:
        DataSet::name of container DataSet.
      • setName

        public void setName​(String newname)
        Set the DataSet::name of this DataSet
        Parameters:
        newname - New name to be set
      • getProviderAccountID

        public AccountID getProviderAccountID()
        Get the responsible of this DataSet
        Returns:
        DataSet::responsible of container DataSet.
      • setProviderAccountID

        public void setProviderAccountID​(AccountID newResponsible)
        Set the DataSet::responsible of this DataSet.
        Parameters:
        newResponsible - Responsible account to set