Package es.bsc.dataclay.metadataservice
Class ObjectMetaData
- java.lang.Object
-
- es.bsc.dataclay.util.MgrObject<ObjectID>
-
- es.bsc.dataclay.metadataservice.ObjectMetaData
-
-
Constructor Summary
Constructors Constructor Description ObjectMetaData(ObjectID newobjectID, MetaClassID newmetaClassID, DataSetID newdatasetID, Set<ExecutionEnvironmentID> newLocIDs, boolean newisReadOnly, String newAlias, CommonMessages.Langs newLang, AccountID newownerID)
ObjectMetaData constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object t)
String
getAlias()
Get the ObjectMetaData::aliasesDataSetID
getDataSetID()
Get the ObjectMetaData::datasetIDSet<ExecutionEnvironmentID>
getExecutionEnvironmentIDs()
Get the ObjectMetaData::execEnvIDsCommonMessages.Langs
getLang()
Get the ObjectMetaData::langMetaClassID
getMetaClassID()
Get the ObjectMetaData::metaClassIDAccountID
getOwnerID()
int
hashCode()
boolean
isReadOnly()
Get the ObjectMetaData::isReadOnlyvoid
setAlias(String newAlias)
Set the ObjectMetaData::aliasesvoid
setDataSetID(DataSetID newdatasetID)
Set the ObjectMetaData::datasetIDvoid
setExecutionEnvironmentIDs(Set<ExecutionEnvironmentID> newExecEnvsIDs)
Set the ObjectMetaData::execEnvIDsvoid
setLang(CommonMessages.Langs newlang)
Set the ObjectMetaData::langvoid
setMetaClassID(MetaClassID newmetaClassID)
Set the ObjectMetaData::metaClassIDvoid
setOwnerID(AccountID theOwnerID)
void
setReadOnly(boolean newisReadOnly)
Set the ObjectMetaData::isReadOnlyString
toString()
-
Methods inherited from class es.bsc.dataclay.util.MgrObject
getDataClayID, setDataClayID
-
-
-
-
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 objectnewmetaClassID
- ID of the metaclassnewdatasetID
- ID of the datasetnewLocIDs
- IDs of the locations in which the object is storednewisReadOnly
- Indicates if the object is read onlynewaliases
- Aliases for the objectnewLang
- Object languagenewownerID
- 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
-
-