public class CatalogTemplateProperties extends RelationshipBeanProperties
CatalogTemplateProperties describes the properties for the CatalogTemplate relationship between a description element and a relevant template.
  • Constructor Details

    • CatalogTemplateProperties

      public CatalogTemplateProperties()
      Default constructor
    • CatalogTemplateProperties

      public CatalogTemplateProperties(CatalogTemplateProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getLabel

      public String getLabel()
      Return the label.
      Returns:
      string
    • setLabel

      public void setLabel(String label)
      Set up the label.
      Parameters:
      label - string
    • getDescription

      public String getDescription()
      Return the reasons why the elements are related.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set up the reasons why the elements are related.
      Parameters:
      description - description
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class RelationshipBeanProperties
      Returns:
      list of properties and their values.
    • equals

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

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