public class Asset extends Referenceable
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
latestChange |
protected String |
owner |
protected OwnerType |
ownerType |
protected String |
shortDescription |
protected List<String> |
zoneMembership |
additionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| 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.
|
String |
getLatestChange()
Return a short description of the last change to the asset.
|
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.
|
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 |
setLatestChange(String latestChange)
Set up a short description of the last change to the asset.
|
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 |
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, getMeanings, getQualifiedName, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String displayName
protected String shortDescription
protected String description
protected String owner
protected OwnerType ownerType
protected String latestChange
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 String getLatestChange()
public void setLatestChange(String latestChange)
latestChange - string descriptionpublic 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.