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.
|
String |
getAssetTypeName()
Return the name of the asset's type - for use in messages and other diagnostics.
|
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 Asset getAssetBean()
public String getAssetName()
public String getAssetTypeName()
Copyright © 2018 ODPi. All rights reserved.