java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.OwnerProperties

public class OwnerProperties extends ClassificationProperties
OwnerProperties describes the properties that identifies the owner of an attached element (or the resource it represents).
  • Constructor Details

    • OwnerProperties

      public OwnerProperties()
      Default constructor
    • OwnerProperties

      public OwnerProperties(OwnerProperties template)
      Copy/clone constructor. Retrieve values from the supplied template
      Parameters:
      template - element to copy
  • Method Details

    • getOwner

      public String getOwner()
      Returns the name of the owner for this asset.
      Returns:
      owner String
    • setOwner

      public void setOwner(String owner)
      Set up the name of the owner for this asset.
      Parameters:
      owner - String name
    • getOwnerTypeName

      public String getOwnerTypeName()
      Return the type name of the element representing the owner.
      Returns:
      name
    • setOwnerTypeName

      public void setOwnerTypeName(String ownerTypeName)
      Set up the type name of the element representing the owner.
      Parameters:
      ownerTypeName - name
    • getOwnerPropertyName

      public String getOwnerPropertyName()
      Return the property name of the identifier that is representing the owner.
      Returns:
      name
    • setOwnerPropertyName

      public void setOwnerPropertyName(String ownerPropertyName)
      Set up the property name of the identifier that is representing the owner.
      Parameters:
      ownerPropertyName - name
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ClassificationProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ClassificationProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class ClassificationProperties
      Returns:
      int