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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Returns the stored description property for the asset.Returns the stored display name property for the asset.Return the unique identifier of the business capability that originated this asset.Return the unique identifier for the organization that originated this asset.Return the properties that characterize where this asset is from.getOwner()
Returns the name of the owner for this asset.Return the type of owner stored in the owner property.Return the names of the zones that this asset is a member of.int
hashCode()
void
setDescription
(String description) Set up the stored description property associated with the asset.void
setDisplayName
(String displayName) Sets up the stored display name property for the asset.void
setOriginBusinessCapabilityGUID
(String originBusinessCapabilityGUID) Set up the unique identifier of the business capability that originated this asset.void
setOriginOrganizationGUID
(String originOrganizationGUID) Set up the unique identifier for the organization that originated this asset.void
setOtherOriginValues
(Map<String, String> otherOriginValues) Set up the properties that characterize where this asset is from.void
Set up the name of the owner for this asset.void
setOwnerType
(OwnerType 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.toString()
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
Constructor Details
-
Asset
public Asset()
-
-
Method Details
-
getDisplayName
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- name
-
getDescription
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description
-
getOwner
Returns the name of the owner for this asset.- Returns:
- owner
-
getOwnerType
Return the type of owner stored in the owner property.- Returns:
- owner type
-
getZoneMembership
Return the names of the zones that this asset is a member of.- Returns:
- list of zone names
-
getOriginOrganizationGUID
Return the unique identifier for the organization that originated this asset.- Returns:
- string guid
-
getOriginBusinessCapabilityGUID
Return the unique identifier of the business capability that originated this asset.- Returns:
- string guid
-
getOtherOriginValues
Return the properties that characterize where this asset is from.- Returns:
- map of name value pairs, all strings
-
setDisplayName
Sets up the stored display name property for the asset.- Parameters:
displayName
- name
-
setDescription
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
setOwner
Set up the name of the owner for this asset.- Parameters:
owner
- String name
-
setOwnerType
Set up the owner type for this asset.- Parameters:
ownerType
- OwnerType enum
-
setZoneMembership
Set up the names of the zones that this asset is a member of.- Parameters:
zoneMembership
- list of zone names
-
setOriginOrganizationGUID
Set up the unique identifier for the organization that originated this asset.- Parameters:
originOrganizationGUID
- string guid
-
setOriginBusinessCapabilityGUID
Set up the unique identifier of the business capability that originated this asset.- Parameters:
originBusinessCapabilityGUID
- string guid
-
setOtherOriginValues
Set up the properties that characterize where this asset is from.- Parameters:
otherOriginValues
- map of name value pairs, all strings
-
equals
- Overrides:
equals
in classReferenceable
-
canEqual
- Overrides:
canEqual
in classReferenceable
-
hashCode
public int hashCode()- Overrides:
hashCode
in classReferenceable
-
toString
- Overrides:
toString
in classReferenceable
-