Class XmlGroup

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<XmlGroup>

    public class XmlGroup
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<XmlGroup>, java.lang.Cloneable
    The Class XmlGroup.
    Author:
    Alejandro Galue
    See Also:
    Serialized Form
    • Constructor Detail

      • XmlGroup

        public XmlGroup()
      • XmlGroup

        public XmlGroup​(XmlGroup copy)
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name.
        Returns:
        the name
      • setName

        public void setName​(java.lang.String name)
        Sets the name.
        Parameters:
        name - the new name
      • getXmlObjects

        public java.util.List<XmlObject> getXmlObjects()
        Gets the XML objects.
        Returns:
        the XML objects
      • setXmlObjects

        public void setXmlObjects​(java.util.List<XmlObject> xmlObjects)
        Sets the XML objects.
        Parameters:
        xmlObjects - the new XML objects
      • addXmlObject

        public void addXmlObject​(XmlObject xmlObject)
        Adds a new XML object.
        Parameters:
        xmlObject - the XML object
      • removeXmlObject

        public void removeXmlObject​(XmlObject xmlObject)
        Removes a XML object.
        Parameters:
        xmlObject - the XML object
      • removeObjectByName

        public void removeObjectByName​(java.lang.String name)
        Removes a XML object by name.
        Parameters:
        name - the XML object name
      • getResourceType

        public java.lang.String getResourceType()
        Gets the resource type.
        Returns:
        the resource type
      • setResourceType

        public void setResourceType​(java.lang.String resourceType)
        Sets the resource type.
        Parameters:
        resourceType - the new resource type
      • getResourceXpath

        public java.lang.String getResourceXpath()
        Gets the resource XPath.
        Returns:
        the resource XPath
      • setResourceXpath

        public void setResourceXpath​(java.lang.String resourceXpath)
        Sets the resource XPath.
        Parameters:
        resourceXpath - the new resource XPath
      • getKeyXpath

        public java.lang.String getKeyXpath()
        Gets the key XPath (for resource instance).
        Returns:
        the key XPath
      • setKeyXpath

        public void setKeyXpath​(java.lang.String keyXpath)
        Sets the key XPath.
        Parameters:
        keyXpath - the new key XPath
      • getTimestampXpath

        public java.lang.String getTimestampXpath()
        Gets the timestamp XPath.
        Returns:
        the timestamp XPath
      • setTimestampXpath

        public void setTimestampXpath​(java.lang.String timestampXpath)
        Sets the timestamp XPath.
        Parameters:
        timestampXpath - the new timestamp XPath
      • getTimestampFormat

        public java.lang.String getTimestampFormat()
        Gets the timestamp format.
        Returns:
        the timestamp format
      • setTimestampFormat

        public void setTimestampFormat​(java.lang.String timestampFormat)
        Sets the timestamp format.
        Parameters:
        timestampFormat - the new timestamp format
      • getIfType

        public java.lang.String getIfType()
        Gets the if type.
        Returns:
        the if type
      • getXmlResourceKey

        public XmlResourceKey getXmlResourceKey()
        Gets the XML resource key.
        Returns:
        the XML resource key
      • setXmlResourceKey

        public void setXmlResourceKey​(XmlResourceKey xmlResourceKey)
        Sets the XML resource key.
        Parameters:
        xmlResourceKey - the new XML resource key
      • hasMultipleResourceKey

        public boolean hasMultipleResourceKey()
        Checks for multiple resource key.
        Returns:
        true, if successful
      • compareTo

        public int compareTo​(XmlGroup obj)
        Specified by:
        compareTo in interface java.lang.Comparable<XmlGroup>
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • clone

        public XmlGroup clone()
        Overrides:
        clone in class java.lang.Object