Class AssetPropertyElementBase

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
Direct Known Subclasses:
AssetDescriptor, AssetElementHeader, AssetElementOrigin, AssetFeedback, AssetLineage, AssetPropertyBase, EmbeddedConnectionProperties

public abstract class AssetPropertyElementBase extends Object
This property header implements any common mechanisms that all property objects need.
  • Constructor Details

    • AssetPropertyElementBase

      public AssetPropertyElementBase()
      Typical Constructor
    • AssetPropertyElementBase

      public AssetPropertyElementBase(AssetPropertyElementBase template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
  • Method Details

    • equals

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

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class Object
      Returns:
      int