Package org.opennms.protocols.xml.config
Class XmlResourceKey
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlResourceKey
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<XmlResourceKey>
public class XmlResourceKey extends Object implements Serializable, Comparable<XmlResourceKey>, Cloneable
The Class XmlResourceKey.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlResourceKey()Instantiates a new XML object.XmlResourceKey(XmlResourceKey copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddKeyXpath(String keyXpath)Adds the key XPath.XmlResourceKeyclone()intcompareTo(XmlResourceKey obj)booleanequals(Object obj)List<String>getKeyXpathList()Gets the key XPath list.voidremoveKeyXpath(String keyXpath)Removes the key XPath.voidsetKeyXpathList(List<String> keyXpathList)Sets the key XPath list.
-
-
-
Constructor Detail
-
XmlResourceKey
public XmlResourceKey()
Instantiates a new XML object.
-
XmlResourceKey
public XmlResourceKey(XmlResourceKey copy)
-
-
Method Detail
-
getKeyXpathList
public List<String> getKeyXpathList()
Gets the key XPath list.- Returns:
- the key XPath list
-
setKeyXpathList
public void setKeyXpathList(List<String> keyXpathList)
Sets the key XPath list.- Parameters:
keyXpathList- the new key XPath list
-
addKeyXpath
public void addKeyXpath(String keyXpath)
Adds the key XPath.- Parameters:
keyXpath- the key XPath
-
removeKeyXpath
public void removeKeyXpath(String keyXpath)
Removes the key XPath.- Parameters:
keyXpath- the key XPath
-
compareTo
public int compareTo(XmlResourceKey obj)
- Specified by:
compareToin interfaceComparable<XmlResourceKey>
-
clone
public XmlResourceKey clone()
-
-