Class ObjectMetaData


  • public final class ObjectMetaData
    extends MgrObject<ObjectID>
    This class is represents the metadata of an object.
    • Constructor Detail

      • ObjectMetaData

        public ObjectMetaData​(ObjectID newobjectID,
                              MetaClassID newmetaClassID,
                              DataSetID newdatasetID,
                              Set<ExecutionEnvironmentID> newLocIDs,
                              boolean newisReadOnly,
                              String newAlias,
                              CommonMessages.Langs newLang,
                              AccountID newownerID)
        ObjectMetaData constructor
        Parameters:
        newobjectID - ID of the object
        newmetaClassID - ID of the metaclass
        newdatasetID - ID of the dataset
        newLocIDs - IDs of the locations in which the object is stored
        newisReadOnly - Indicates if the object is read only
        newaliases - Aliases for the object
        newLang - Object language
        newownerID - New owner account ID
    • Method Detail

      • getMetaClassID

        public MetaClassID getMetaClassID()
        Get the ObjectMetaData::metaClassID
        Returns:
        the metaClassID
      • setMetaClassID

        public void setMetaClassID​(MetaClassID newmetaClassID)
        Set the ObjectMetaData::metaClassID
        Parameters:
        newmetaClassID - the metaClassID to set
      • getExecutionEnvironmentIDs

        public Set<ExecutionEnvironmentID> getExecutionEnvironmentIDs()
        Get the ObjectMetaData::execEnvIDs
        Returns:
        the Execution Environment IDs
      • setExecutionEnvironmentIDs

        public void setExecutionEnvironmentIDs​(Set<ExecutionEnvironmentID> newExecEnvsIDs)
        Set the ObjectMetaData::execEnvIDs
        Parameters:
        newExecEnvsIDs - the Execution Environment IDs to set
      • getDataSetID

        public DataSetID getDataSetID()
        Get the ObjectMetaData::datasetID
        Returns:
        the datasetID
      • setDataSetID

        public void setDataSetID​(DataSetID newdatasetID)
        Set the ObjectMetaData::datasetID
        Parameters:
        newdatasetID - the datasetID to set
      • isReadOnly

        public boolean isReadOnly()
        Get the ObjectMetaData::isReadOnly
        Returns:
        the isReadOnly
      • setReadOnly

        public void setReadOnly​(boolean newisReadOnly)
        Set the ObjectMetaData::isReadOnly
        Parameters:
        newisReadOnly - the isReadOnly to set
      • getAlias

        public String getAlias()
        Get the ObjectMetaData::aliases
        Returns:
        the aliases
      • setAlias

        public void setAlias​(String newAlias)
        Set the ObjectMetaData::aliases
        Parameters:
        newaliases - the aliases to set
      • getOwnerID

        public AccountID getOwnerID()
        Returns:
        the ownerID
      • setOwnerID

        public void setOwnerID​(AccountID theOwnerID)
        Parameters:
        theOwnerID - the ownerID to set
      • getLang

        public CommonMessages.Langs getLang()
        Get the ObjectMetaData::lang
        Returns:
        the lang property
      • setLang

        public void setLang​(CommonMessages.Langs newlang)
        Set the ObjectMetaData::lang
        Parameters:
        newlang - the lang to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object