Class Asset
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.synchronization.beans.Referenceable
-
- org.odpi.openmetadata.accessservices.analyticsmodeling.synchronization.beans.Asset
-
- Direct Known Subclasses:
AnalyticsAsset
public class Asset extends Referenceable
Asset holds properties accordingly Asset - model 0010.- displayName - A consumable name for the asset. Often a shortened form of the assetQualifiedName for use on user interfaces and messages. The assetDisplayName should only be used for audit logs and error messages if the assetQualifiedName is not set. (Sourced from attribute name within Asset - model 0010)
- description - full description of the asset. (Sourced from attribute description within Asset - model 0010)
- 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)
- additionalProperties - list of properties assigned to the asset as additional properties. (additionalProperties from Referenceable - model 0010)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
description
protected java.lang.String
displayName
-
Fields inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.synchronization.beans.Referenceable
additionalProperties, guid, qualifiedName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.java.lang.String
getDescription()
Returns the stored description property for the asset.java.lang.String
getDisplayName()
Returns the stored display name property for the asset.int
hashCode()
Return hash code based on properties.void
setDescription(java.lang.String description)
Set up the stored description property associated with the asset.void
setDisplayName(java.lang.String displayName)
Set up the stored display name property for the asset.java.lang.String
toString()
Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.analyticsmodeling.synchronization.beans.Referenceable
getAdditionalProperties, getGuid, getQualifiedName, setAdditionalProperties, setGuid, setQualifiedName
-
-
-
-
Constructor Detail
-
Asset
public Asset()
Default constructor
-
Asset
public Asset(Asset template)
Copy/clone constructor. Note, this is a deep copy- Parameters:
template
- template values for asset summary
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Set up the stored display name property for the asset.- Parameters:
displayName
- String name
-
getDescription
public java.lang.String getDescription()
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
public void setDescription(java.lang.String description)
Set up the stored description property associated with the asset.- Parameters:
description
- String text
-
toString
public java.lang.String toString()
Standard toString method.- Overrides:
toString
in classReferenceable
- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(java.lang.Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCode
in classReferenceable
- Returns:
- int
-
-