public abstract class AssetDescriptor extends AssetPropertyElementBase
| Modifier | Constructor and Description |
|---|---|
protected |
AssetDescriptor()
Default constructor only for subclasses
|
|
AssetDescriptor(Asset assetBean)
Bean constructor - the asset descriptor is effectively empty - and the protected
set methods need to be called to add useful content to it.
|
|
AssetDescriptor(AssetDescriptor templateAssetDescriptor)
Copy/clone Constructor - used to copy the asset descriptor for a new consumer.
|
| Modifier and Type | Method and Description |
|---|---|
protected Asset |
getAssetBean()
Return the asset bean for this element.
|
String |
getAssetName()
Return the name of the asset - for use in messages and other diagnostics.
|
List<String> |
getAssetSuperTypeNames()
Return the list of type names for this type's supertypes.
|
String |
getAssetTypeName()
Return the name of the asset's type - for use in messages and other diagnostics.
|
protected void |
setAssetBean(Asset assetBean)
Set up private attributes based on the supplied asset bean.
|
equals, hashCode, toStringprotected Asset assetBean
protected AssetDescriptor()
public AssetDescriptor(Asset assetBean)
assetBean - bean containing all of the propertiespublic AssetDescriptor(AssetDescriptor templateAssetDescriptor)
templateAssetDescriptor - template asset descriptor to copy.protected void setAssetBean(Asset assetBean)
assetBean - bean containing all of the propertiesprotected Asset getAssetBean()
public String getAssetName()
public String getAssetTypeName()
Copyright © 2018–2020 ODPi. All rights reserved.