public class Asset extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
assetProperties |
protected String |
description |
protected String |
displayName |
protected String |
owner |
protected String |
shortDescription |
protected List<String> |
zoneMembership |
additionalProperties, qualifiedNameclassifications, guid, type, url| Constructor and Description |
|---|
Asset()
Default constructor
|
Asset(Asset templateAsset)
Copy/clone 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.
|
Map<String,Object> |
getAssetProperties()
Return a copy of the asset properties.
|
String |
getDescription()
Returns the stored description property for the asset.
|
String |
getDisplayName()
Returns the stored display name property for the asset.
|
String |
getOwner()
Returns the name of the owner for this asset.
|
String |
getShortDescription()
Returns the short description of the asset from relationship with Connection.
|
List<String> |
getZoneMembership()
Return the names of the zones that this asset is a member of.
|
void |
setAssetProperties(Map<String,Object> assetProperties)
Set up asset properties.
|
void |
setDescription(String description)
Set up the stored description property associated with the asset.
|
void |
setDisplayName(String displayName)
Set up the stored display name property for the asset.
|
void |
setOwner(String owner)
Set up the name of the owner for this asset.
|
void |
setShortDescription(String shortDescription)
Set up the short description of the asset from relationship with Connection.
|
void |
setZoneMembership(List<String> zoneMembership)
Set up the names of the zones that this asset is a member of.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNamegetClassifications, getGUID, getType, getURL, hashCode, setClassifications, setGUID, setType, setURLprotected String displayName
protected String shortDescription
protected String description
protected String owner
public Asset()
public Asset(Asset templateAsset)
templateAsset - template values for asset summarypublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - String namepublic String getShortDescription()
public void setShortDescription(String shortDescription)
shortDescription - String textpublic String getDescription()
public void setDescription(String description)
description - String textpublic String getOwner()
public void setOwner(String owner)
owner - String namepublic List<String> getZoneMembership()
public void setZoneMembership(List<String> zoneMembership)
zoneMembership - list of zone namespublic void setAssetProperties(Map<String,Object> assetProperties)
assetProperties - asset properties mappublic Map<String,Object> getAssetProperties()
public String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectCopyright © 2018 ODPi. All rights reserved.