Class ReferenceDataAssetProperties

java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceDataAssetProperties
All Implemented Interfaces:
Serializable

public class ReferenceDataAssetProperties extends ReferenceableProperties
ReferenceDataAssetProperties is a java bean used to create assets associated with the digital architecture.
See Also:
  • Constructor Details

    • ReferenceDataAssetProperties

      public ReferenceDataAssetProperties()
      Default constructor
    • ReferenceDataAssetProperties

      public ReferenceDataAssetProperties(ReferenceDataAssetProperties template)
      Copy/clone constructor. Note, this is a deep copy
      Parameters:
      template - object to copy
  • Method Details

    • getName

      public String getName()
      Returns the stored display name property for the asset. If no display name is available then null is returned.
      Returns:
      String name
    • setName

      public void setName(String name)
      Set up the stored display name property for the asset.
      Parameters:
      name - String name
    • getDescription

      public 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(String description)
      Set up the stored description property associated with the asset.
      Parameters:
      description - String text
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ReferenceableProperties
      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 ReferenceableProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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