public class AssetLocation extends AssetReferenceable
| Modifier and Type | Field and Description |
|---|---|
protected Location |
locationBean |
referenceableBeanparentAsset| Constructor and Description |
|---|
AssetLocation(AssetDescriptor parentAsset,
AssetLocation templateLocation)
Copy/clone constructor
|
AssetLocation(AssetDescriptor parentAsset,
Location locationBean)
Bean constructor and parent asset
|
AssetLocation(Location locationBean)
Bean constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getDescription()
Returns the stored description property for the location.
|
String |
getDisplayName()
Returns the stored display name property for the location.
|
protected Location |
getLocationBean()
Return the bean with all of the properties in it.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, getSecurityTags, setBeangetAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, hashCode, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected Location locationBean
public AssetLocation(Location locationBean)
locationBean - bean containing all of the propertiespublic AssetLocation(AssetDescriptor parentAsset, Location locationBean)
parentAsset - descriptor for parent assetlocationBean - bean containing all of the propertiespublic AssetLocation(AssetDescriptor parentAsset, AssetLocation templateLocation)
parentAsset - description of the asset that this location is attached to.templateLocation - template object to copy.protected Location getLocationBean()
public String getDisplayName()
public String getDescription()
public String toString()
toString in class AssetReferenceablepublic boolean equals(Object objectToCompare)
equals in class AssetReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.