public abstract class AssetPropertyBase extends AssetPropertyElementBase
| Modifier and Type | Field and Description |
|---|---|
protected AssetDescriptor |
parentAsset |
| Modifier | Constructor and Description |
|---|---|
protected |
AssetPropertyBase(AssetDescriptor parentAsset)
Typical constructor that sets the link to the connected asset to null
|
protected |
AssetPropertyBase(AssetDescriptor parentAsset,
AssetPropertyBase template)
Copy/clone constructor sets up details of the parent asset from the template
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
protected AssetDescriptor |
getParentAsset()
Return the asset descriptor of the parent asset.
|
protected String |
getParentAssetName()
Return the name of the connected asset that this property is connected to.
|
protected String |
getParentAssetTypeName()
Return the type of the connected asset that this property relates to.
|
int |
hashCode()
Return code value representing the contents of this object.
|
protected AssetDescriptor parentAsset
protected AssetPropertyBase(AssetDescriptor parentAsset)
parentAsset - descriptor of asset that this property relates to.protected AssetPropertyBase(AssetDescriptor parentAsset, AssetPropertyBase template)
parentAsset - descriptor of asset that his property relates to.template - AssetPropertyBase to copyprotected AssetDescriptor getParentAsset()
protected String getParentAssetName()
protected String getParentAssetTypeName()
public boolean equals(Object objectToCompare)
equals in class AssetPropertyElementBaseobjectToCompare - supplied objectpublic int hashCode()
hashCode in class AssetPropertyElementBaseCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.