Class TemplateProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class TemplateProperties
    extends java.lang.Object
    implements java.io.Serializable
    TemplateProperties defined the properties that can be overridden from the template object when creating an object from a template.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getDescription()
      Returns the stored description property for the metadata entity.
      java.lang.String getDisplayName()
      Returns the stored display name property for the metadata entity.
      java.lang.String getIdentifier()
      Return the code value or symbol used to identify the element - typically unique.
      java.lang.String getQualifiedName()
      Returns the stored qualified name property for the metadata entity.
      int hashCode()
      Return hash code based on properties.
      void setDescription​(java.lang.String description)
      Set up the stored description property associated with the metadata entity.
      void setDisplayName​(java.lang.String displayName)
      Set up the stored display name property for the metadata entity.
      void setIdentifier​(java.lang.String identifier)
      Set up the code value or symbol used to identify the element - typically unique.
      void setQualifiedName​(java.lang.String qualifiedName)
      Set up the fully qualified name.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TemplateProperties

        public TemplateProperties()
        Default constructor
      • TemplateProperties

        public TemplateProperties​(TemplateProperties template)
        Copy/clone constructor for the template properties.
        Parameters:
        template - template object to copy.
    • Method Detail

      • getQualifiedName

        public java.lang.String getQualifiedName()
        Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.
        Returns:
        qualifiedName
      • setQualifiedName

        public void setQualifiedName​(java.lang.String qualifiedName)
        Set up the fully qualified name.
        Parameters:
        qualifiedName - String name
      • getIdentifier

        public java.lang.String getIdentifier()
        Return the code value or symbol used to identify the element - typically unique.
        Returns:
        string identifier
      • setIdentifier

        public void setIdentifier​(java.lang.String identifier)
        Set up the code value or symbol used to identify the element - typically unique.
        Parameters:
        identifier - string identifier
      • getDisplayName

        public java.lang.String getDisplayName()
        Returns the stored display name property for the metadata entity. If no display name is available then null is returned.
        Returns:
        String name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Set up the stored display name property for the metadata entity.
        Parameters:
        displayName - String name
      • getDescription

        public java.lang.String getDescription()
        Returns the stored description property for the metadata entity. If no description is provided then null is returned.
        Returns:
        description String text
      • setDescription

        public void setDescription​(java.lang.String description)
        Set up the stored description property associated with the metadata entity.
        Parameters:
        description - String text
      • toString

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

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

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