|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetData
This interface represents an asset instance (data of a single asset). The intention of the interface is to provide a view (possibly a narrower view) of data contained in the asset.
AssetData is a combination ofAssetId
AttributeData
AttributeData
represents data for a given attribute. A given instance of AssetData may not contain
data for all attributes. List of attribute names whose data is part of an AssetData instance can be obtained by
invoking AssetData.getAttributeNames()
.
Attributes for which data exists in an AssetData instance is determined by how the
instance of AssetData was obtained. See AssetDataManager
for ways to obtain an instance of AssetData.
Method Summary | |
---|---|
AssetId |
getAssetId()
Returns unique identification of the asset instance AssetId |
AssetTypeDef |
getAssetTypeDef()
Returns AssetTypeDef this instance is based on. |
java.util.List<AssetId> |
getAssociatedAssets(java.lang.String name)
Returns named associations by given name. |
java.util.List<AttributeData> |
getAttributeData()
Returns a list of all attribute data associated with this instance of asset |
AttributeData |
getAttributeData(java.lang.String attributeName)
Returns data associated with a given attribute. |
java.util.List<java.lang.String> |
getAttributeNames()
Returns List of attribute names contained in this instance of AssetData. |
java.util.List<AssetId> |
getParents()
Returns Asset identifiers of parent assets, if any. |
Method Detail |
---|
AssetId getAssetId()
AssetId
java.util.List<java.lang.String> getAttributeNames()
AssetTypeDef
to get to those).AssetTypeDef getAssetTypeDef()
AssetTypeDef
this instance is based on.
AttributeData getAttributeData(java.lang.String attributeName)
attributeName
- name of the attribute
java.util.List<AttributeData> getAttributeData()
java.util.List<AssetId> getAssociatedAssets(java.lang.String name)
AssetAssociationDef.UnnamedAssociationName
constant in place association name.
name
- name of the association
java.util.List<AssetId> getParents() throws AssetAccessException
AssetAccessException
- captures layer specific failures and wraps other internal exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |