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
Asset is a java bean used to create assets associated with the external data engine.
See Also:
  • Constructor Details

    • Asset

      public Asset()
  • Method Details

    • 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:
      equals in class Referenceable
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Referenceable
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Referenceable
    • toString

      public String toString()
      Overrides:
      toString in class Referenceable