public class Asset extends Referenceable
| 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.
|
int |
getOwnerType()
Return the type of owner stored in the owner property.
|
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 |
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(int ownerType)
Set up the owner type for this asset.
|
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, getConfidence, getConfidentiality, getCriticality, getExtendedProperties, getGUID, getImpact, getQualifiedName, getRetention, getSecurityLabels, getSecurityProperties, getStatus, getTypeGUID, getTypeName, setAdditionalProperties, setConfidence, setConfidentiality, setCriticality, setExtendedProperties, setGUID, setImpact, setQualifiedName, setRetention, setSecurityLabels, setSecurityProperties, setStatus, setTypeGUID, setTypeNamepublic Asset()
public Asset(Asset template)
template - template values for asset summarypublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - String namepublic String getDescription()
public void setDescription(String description)
description - String textpublic String getOwner()
public void setOwner(String owner)
owner - String namepublic int getOwnerType()
public void setOwnerType(int 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 String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.