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 |
getTypeId()
Return the unique identifier for this Asset's type.
|
String |
getTypeName()
Return the name for this Asset's type.
|
long |
getTypeVersion()
Return the version number for this Asset's type.
|
String |
getURL()
Return the URL for this asset.
|
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 |
setTypeId(String typeId)
Set up the unique identifier for this Asset's type.
|
void |
setTypeName(String typeName)
Set up the name for this Asset's type.
|
void |
setTypeVersion(long typeVersion)
Set up the version number for this Asset's type.
|
void |
setURL(String url)
Set up the URL for this asset.
|
String |
toString()
JSON-style toString
|
public Asset()
public Asset(Asset template)
public String getURL()
public void setURL(String url)
url - URL stringpublic String getGUID()
public void setGUID(String guid)
guid - string guid for this assetpublic String getTypeId()
public void setTypeId(String typeId)
typeId - string guid for typepublic String getTypeName()
public void setTypeName(String typeName)
typeName - string namepublic long getTypeVersion()
public void setTypeVersion(long typeVersion)
typeVersion - longpublic 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 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 © 2017–2018 ODPi. All rights reserved.