Class ElementBase

    • Field Detail

      • url

        protected java.lang.String url
      • extendedProperties

        protected java.util.Map<java.lang.String,​java.lang.Object> extendedProperties
    • Constructor Detail

      • ElementBase

        public ElementBase()
        Default constructor used by subclasses
      • ElementBase

        public ElementBase​(ElementBase template)
        Copy/clone constructor.
        Parameters:
        template - element to copy
    • Method Detail

      • getURL

        public java.lang.String getURL()
        Returns the URL to access the properties object in the metadata repository. If no url is available then null is returned.
        Returns:
        String URL
      • setURL

        public void setURL​(java.lang.String url)
        Set up the URL of this element.
        Parameters:
        url - String
      • getExtendedProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getExtendedProperties()
        Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.
        Returns:
        property map
      • setExtendedProperties

        public void setExtendedProperties​(java.util.Map<java.lang.String,​java.lang.Object> extendedProperties)
        Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.
        Parameters:
        extendedProperties - property map
      • toString

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

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class ElementHeader
        Returns:
        int hash code