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 booleanequals(Object t)StringgetAlias()Get the ObjectMetaData::aliasesDataSetIDgetDataSetID()Get the ObjectMetaData::datasetIDSet<ExecutionEnvironmentID>getExecutionEnvironmentIDs()Get the ObjectMetaData::execEnvIDsCommonMessages.LangsgetLang()Get the ObjectMetaData::langMetaClassIDgetMetaClassID()Get the ObjectMetaData::metaClassIDAccountIDgetOwnerID()inthashCode()booleanisReadOnly()Get the ObjectMetaData::isReadOnlyvoidsetAlias(String newAlias)Set the ObjectMetaData::aliasesvoidsetDataSetID(DataSetID newdatasetID)Set the ObjectMetaData::datasetIDvoidsetExecutionEnvironmentIDs(Set<ExecutionEnvironmentID> newExecEnvsIDs)Set the ObjectMetaData::execEnvIDsvoidsetLang(CommonMessages.Langs newlang)Set the ObjectMetaData::langvoidsetMetaClassID(MetaClassID newmetaClassID)Set the ObjectMetaData::metaClassIDvoidsetOwnerID(AccountID theOwnerID)voidsetReadOnly(boolean newisReadOnly)Set the ObjectMetaData::isReadOnlyStringtoString()-
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
-
-