public interface MutableAssetData extends AssetData
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociation(String associationName,
List<AssetId> assets)
Adds an associations by a given name
|
void |
addAttributeData(AttributeData data)
Adds an attribute data.
|
void |
removeAttributeData(String attributeName)
Removes an attribute data from collection
|
void |
setAssociation(String associationName,
List<AssetId> assets)
Sets an associations by a given name.
|
void |
setAttributeData(List<AttributeData> data)
Sets data for this instance of AssetData
|
void |
setParents(List<AssetId> ids)
Sets parent assets for this instance of AssetData
|
void |
setTreeNodeParentAssetId(AssetId treeNodeparentAssetId)
Sets the parent asset in the tree node.
|
getAssetId, getAssetTypeDef, getAssociatedAssets, getAttributeData, getAttributeData, getAttributeData, getAttributeNames, getImmediateParents, getImmediateParents, getParents, getTreeNodeParentAssetId, setAssetIdvoid setAttributeData(List<AttributeData> data)
data - data to setvoid addAttributeData(AttributeData data)
data - data to addvoid removeAttributeData(String attributeName)
attributeName - attribute to removevoid setParents(List<AssetId> ids) throws AssetAccessException
ids - ids of parentsAssetAccessException - throw this Exception if error metvoid addAssociation(String associationName, List<AssetId> assets)
associationName - name of the association to addassets - to be added as associations.void setAssociation(String associationName, List<AssetId> assets)
associationName - name of the association to addassets - to be added as associations.void setTreeNodeParentAssetId(AssetId treeNodeparentAssetId)
treeNodeparentAssetId - AssetId of the tree node parent