public class Asset extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected boolean |
isReferenceData |
protected Map<String,String> |
origin |
protected String |
owner |
protected OwnerType |
ownerType |
protected String |
shortDescription |
protected List<String> |
zoneMembership |
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTagsclassifications, extendedProperties, guid, type, urlCURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
Asset()
Default constructor
|
Asset(Asset template)
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.
|
String |
getDescription()
Returns the stored description property for the asset.
|
String |
getDisplayName()
Returns the stored display name property for the asset.
|
Map<String,String> |
getOrigin()
Return the properties that characterize where this asset is from.
|
String |
getOwner()
Returns the name of the owner for this asset.
|
OwnerType |
getOwnerType()
Return the type of owner stored in the owner property.
|
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.
|
int |
hashCode()
Return has code based on properties.
|
boolean |
isReferenceData()
Return a boolean to see if the asset has been marked as reference data.
|
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 |
setOrigin(Map<String,String> origin)
Set up the properties that characterize where this asset is from.
|
void |
setOwner(String owner)
Set up the name of the owner for this asset.
|
void |
setOwnerType(OwnerType ownerType)
Set up the owner type for this asset.
|
void |
setReferenceData(boolean referenceData)
Set up the boolean to see if the asset has been marked as reference data.
|
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, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTagsgetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLgetHeaderVersion, setHeaderVersionprotected String displayName
protected String shortDescription
protected String description
protected String owner
protected OwnerType ownerType
protected boolean isReferenceData
public Asset()
public Asset(Asset template)
template - 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 OwnerType getOwnerType()
public void setOwnerType(OwnerType ownerType)
ownerType - OwnerType enumpublic List<String> getZoneMembership()
public void setZoneMembership(List<String> zoneMembership)
zoneMembership - list of zone namespublic Map<String,String> getOrigin()
public void setOrigin(Map<String,String> origin)
origin - map of name value pairs, all stringspublic boolean isReferenceData()
public void setReferenceData(boolean referenceData)
referenceData - true if the asset contains reference datapublic String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableCopyright © 2018–2020 ODPi. All rights reserved.