Class Asset
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
-
- org.odpi.openmetadata.accessservices.dataengine.model.Asset
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseSchema,DataStore,Process,Topic
public class Asset extends Referenceable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Asset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()Returns the stored description property for the asset.StringgetDisplayName()Returns the stored display name property for the asset.StringgetOriginBusinessCapabilityGUID()Return the unique identifier of the business capability that originated this asset.StringgetOriginOrganizationGUID()Return the unique identifier for the organization that originated this asset.Map<String,String>getOtherOriginValues()Return the properties that characterize where this asset is from.StringgetOwner()Returns the name of the owner for this asset.OwnerTypegetOwnerType()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.inthashCode()voidsetDescription(String description)Set up the stored description property associated with the asset.voidsetDisplayName(String displayName)Sets up the stored display name property for the asset.voidsetOriginBusinessCapabilityGUID(String originBusinessCapabilityGUID)Set up the unique identifier of the business capability that originated this asset.voidsetOriginOrganizationGUID(String originOrganizationGUID)Set up the unique identifier for the organization that originated this asset.voidsetOtherOriginValues(Map<String,String> otherOriginValues)Set up the properties that characterize where this asset is from.voidsetOwner(String owner)Set up the name of the owner for this asset.voidsetOwnerType(OwnerType ownerType)Set up the owner type for this asset.voidsetZoneMembership(List<String> zoneMembership)Set up the names of the zones that this asset is a member of.StringtoString()-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- name
-
getDescription
public String getDescription()
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description
-
getOwner
public String getOwner()
Returns the name of the owner for this asset.- Returns:
- owner
-
getOwnerType
public OwnerType getOwnerType()
Return the type of owner stored in the owner property.- Returns:
- owner type
-
getZoneMembership
public List<String> getZoneMembership()
Return the names of the zones that this asset is a member of.- Returns:
- list of zone names
-
getOriginOrganizationGUID
public String getOriginOrganizationGUID()
Return the unique identifier for the organization that originated this asset.- Returns:
- string guid
-
getOriginBusinessCapabilityGUID
public String getOriginBusinessCapabilityGUID()
Return the unique identifier of the business capability that originated this asset.- Returns:
- string guid
-
getOtherOriginValues
public Map<String,String> getOtherOriginValues()
Return the properties that characterize where this asset is from.- Returns:
- map of name value pairs, all strings
-
setDisplayName
public void setDisplayName(String displayName)
Sets up the stored display name property for the asset.- Parameters:
displayName- name
-
setDescription
public void setDescription(String description)
Set up the stored description property associated with the asset.- Parameters:
description- String text
-
setOwner
public void setOwner(String owner)
Set up the name of the owner for this asset.- Parameters:
owner- String name
-
setOwnerType
public void setOwnerType(OwnerType ownerType)
Set up the owner type for this asset.- Parameters:
ownerType- OwnerType enum
-
setZoneMembership
public void setZoneMembership(List<String> zoneMembership)
Set up the names of the zones that this asset is a member of.- Parameters:
zoneMembership- list of zone names
-
setOriginOrganizationGUID
public void setOriginOrganizationGUID(String originOrganizationGUID)
Set up the unique identifier for the organization that originated this asset.- Parameters:
originOrganizationGUID- string guid
-
setOriginBusinessCapabilityGUID
public void setOriginBusinessCapabilityGUID(String originBusinessCapabilityGUID)
Set up the unique identifier of the business capability that originated this asset.- Parameters:
originBusinessCapabilityGUID- string guid
-
setOtherOriginValues
public void setOtherOriginValues(Map<String,String> otherOriginValues)
Set up the properties that characterize where this asset is from.- Parameters:
otherOriginValues- map of name value pairs, all strings
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classReferenceable
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classReferenceable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classReferenceable
-
toString
public String toString()
- Overrides:
toStringin classReferenceable
-
-