Class Asset
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
- Direct Known Subclasses:
AssetSummary
,RelatedAsset
Asset holds asset properties that are used for displaying details of
an asset in summary lists or hover text. It includes the following properties:
- type - metadata type information for the asset
- guid - globally unique identifier for the asset
- url - external link for the asset
- qualifiedName - The official (unique) name for the asset. This is often defined by the IT systems management organization and should be used (when available) on audit logs and error messages. (qualifiedName from Referenceable - model 0010)
- resourceName - name extracted from the resource. (Sourced from attribute name within Asset - model 0010)
- resourceDescription - description extracted from the resource. (Sourced from attribute description within Asset - model 0010)
- displayName - A consumable name for the resource for use on user interfaces and messages. (Sourced from attribute displayName within GlossaryTerm - model 0330)
- displaySummary - A short description of the resource for use on user interfaces and messages. (Sourced from attribute summary within GlossaryTerm - model 0330)
- displayDescription - A full description of the resource in business terminology for use on user interfaces. (Sourced from attribute description within GlossaryTerm - model 0330)
- abbreviation - A short name or acronym for the resource. (Sourced from attribute abbreviation within GlossaryTerm - model 0330)
- usage - A description of how the resource is used by the business. (Sourced from attribute usage within GlossaryTerm - model 0330)
- classifications - list of all classifications assigned to the asset
- extendedProperties - list of properties assigned to the asset from the Asset subclasses
- additionalProperties - list of properties assigned to the asset as additional properties
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
meanings, searchKeywords
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the abbreviation or acronym associated with the resources display name.Retrieve the name of the technology used for this asset.Return the full business description.Returns the stored display name property for the asset.Return the short display description for tables and summaries.Return the description associated with the resource.Return the name of the resource that this asset represents.getUsage()
Return the usage information for the resource.Set up the version identifier of the resource.int
hashCode()
Return hash code based on properties.void
setAbbreviation
(String abbreviation) Set up the abbreviation or acronym associated with the resources display name.void
setDeployedImplementationType
(String deployedImplementationType) Set up the name of the technology used for this asset.void
setDisplayDescription
(String displayDescription) Set up the full business description.void
setDisplayName
(String displayName) Set up the stored display name property for the asset.void
setDisplaySummary
(String displaySummary) Set up the short display description for tables and summaries.void
setResourceDescription
(String resourceDescription) Set up the description associated with the resource.void
setResourceName
(String name) Set up the name of the resource that this asset represents.void
Set up the usage information for the resource.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywords
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
resourceName
-
resourceDescription
-
versionIdentifier
-
deployedImplementationType
-
displayName
-
displaySummary
-
displayDescription
-
abbreviation
-
usage
-
-
Constructor Details
-
Asset
public Asset()Default constructor -
Asset
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- template values for asset summary
-
-
Method Details
-
getResourceName
Return the name of the resource that this asset represents.- Returns:
- string resource name
-
setResourceName
Set up the name of the resource that this asset represents.- Parameters:
name
- string resource name
-
getResourceDescription
Return the description associated with the resource.- Returns:
- text
-
setResourceDescription
Set up the description associated with the resource.- Parameters:
resourceDescription
- text
-
getVersionIdentifier
Set up the version identifier of the resource.- Returns:
- string version name
-
setVersionIdentifier
Set up the version identifier of the resource.- Parameters:
versionIdentifier
- string version name
-
getDeployedImplementationType
Retrieve the name of the technology used for this asset.- Returns:
- string name
-
setDeployedImplementationType
Set up the name of the technology used for this asset.- Parameters:
deployedImplementationType
- string name
-
getDisplayName
Returns the stored display name property for the asset. If no display name is available then resource name is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the asset.- Parameters:
displayName
- String name
-
getDisplaySummary
Return the short display description for tables and summaries.- Returns:
- string description
-
setDisplaySummary
Set up the short display description for tables and summaries.- Parameters:
displaySummary
- string description
-
getDisplayDescription
Return the full business description.- Returns:
- string description
-
setDisplayDescription
Set up the full business description.- Parameters:
displayDescription
- string description
-
getAbbreviation
Return the abbreviation or acronym associated with the resources display name.- Returns:
- string name
-
setAbbreviation
Set up the abbreviation or acronym associated with the resources display name.- Parameters:
abbreviation
- string name
-
getUsage
Return the usage information for the resource. This typically describes how the organization uses the resource.- Returns:
- string description
-
setUsage
Set up the usage information for the resource. This typically describes how the organization uses the resource.- Parameters:
usage
- string description
-
toString
Standard toString method.- Overrides:
toString
in classGovernedReferenceable
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classGovernedReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classGovernedReferenceable
- Returns:
- int
-