public class Asset extends ReferenceableHeader
| Constructor and Description |
|---|
Asset()
Default constructor
|
Asset(Asset template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
String |
getDescription()
Return the description for this asset.
|
String |
getDisplayName()
Return the display name for this asset (normally a shortened form of the qualified name).
|
String |
getLastChange()
Return the description of the last change to the asset.
|
String |
getOwner()
Return the owner for this asset.
|
List<String> |
getZoneMembership()
Return the names of the zones that this asset is a member of.
|
int |
hashCode()
Return hash code for this object
|
void |
setDescription(String description)
Set up the description for this asset.
|
void |
setDisplayName(String displayName)
Set up the display name for this asset (normally a shortened form of the qualified name).
|
void |
setLastChange(String lastChange)
Set up the description of the last change to the asset.
|
void |
setOwner(String owner)
Set up the owner for this asset.
|
void |
setZoneMembership(List<String> zoneMembership)
Set up the names of the zones that this asset is a member of.
|
String |
toString()
JSON-style toString
|
getAdditionalProperties, getClassifications, getGUID, getOriginId, getOriginLicense, getOriginName, getOriginType, getQualifiedName, getTypeDescription, getTypeName, setAdditionalProperties, setClassifications, setGUID, setOriginId, setOriginLicense, setOriginName, setOriginType, setQualifiedName, setTypeDescription, setTypeNamepublic Asset()
public Asset(Asset template)
public String getDisplayName()
public void setDisplayName(String displayName)
displayName - string namepublic String getDescription()
public void setDescription(String description)
description - stringpublic String getOwner()
public void setOwner(String owner)
owner - string idpublic List<String> getZoneMembership()
public void setZoneMembership(List<String> zoneMembership)
zoneMembership - list of zone namespublic String getLastChange()
public void setLastChange(String lastChange)
lastChange - string descriptionpublic String toString()
toString in class ReferenceableHeaderpublic boolean equals(Object objectToCompare)
equals in class ReferenceableHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class ReferenceableHeaderCopyright © 2018–2019 ODPi. All rights reserved.