public class Asset extends AssetConsumerElementHeader
| 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.
|
Map<String,Object> |
getAdditionalProperties()
Return any additional properties associated with the asset.
|
List<Classification> |
getClassifications()
Return the list of active classifications for this asset.
|
String |
getDescription()
Return the description for this asset.
|
String |
getDisplayName()
Return the display name for this asset (normally a shortened for of the qualified name).
|
String |
getGUID()
Return the unique identifier for this asset.
|
String |
getOwner()
Return the owner for this asset.
|
String |
getQualifiedName()
Return the unique name for this asset.
|
String |
getTypeDescription()
Return the description for this Asset's type.
|
String |
getTypeName()
Return the name for this Asset's type.
|
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 |
setAdditionalProperties(Map<String,Object> additionalProperties)
Set up any additional properties associated with the asset.
|
void |
setClassifications(List<Classification> classifications)
Set up the list of active classifications for this asset.
|
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 for of the qualified name).
|
void |
setGUID(String guid)
Set up the unique identifier for this asset.
|
void |
setOwner(String owner)
Set up the owner for this asset.
|
void |
setQualifiedName(String qualifiedName)
Set up the unique name for this asset.
|
void |
setTypeDescription(String typeDescription)
Set up the description for this Asset's type.
|
void |
setTypeName(String typeName)
Set up the name for this Asset's type.
|
void |
setZoneMembership(List<String> zoneMembership)
Set up the names of the zones that this asset is a member of.
|
String |
toString()
JSON-style toString
|
public Asset()
public Asset(Asset template)
public String getGUID()
public void setGUID(String guid)
guid - string guid for this assetpublic String getTypeName()
public void setTypeName(String typeName)
typeName - string namepublic String getTypeDescription()
public void setTypeDescription(String typeDescription)
typeDescription - string descriptionpublic String getQualifiedName()
public void setQualifiedName(String qualifiedName)
qualifiedName - string namepublic 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 Map<String,Object> getAdditionalProperties()
public void setAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties - map of property names to property valuespublic List<Classification> getClassifications()
public void setClassifications(List<Classification> classifications)
classifications - list of classification objectspublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018 ODPi. All rights reserved.