Package org.opennms.protocols.xml.config
Class XmlResourceKey
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlResourceKey
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<XmlResourceKey>
public class XmlResourceKey extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<XmlResourceKey>, java.lang.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 void
addKeyXpath(java.lang.String keyXpath)
Adds the key XPath.XmlResourceKey
clone()
int
compareTo(XmlResourceKey obj)
boolean
equals(java.lang.Object obj)
java.util.List<java.lang.String>
getKeyXpathList()
Gets the key XPath list.void
removeKeyXpath(java.lang.String keyXpath)
Removes the key XPath.void
setKeyXpathList(java.util.List<java.lang.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 java.util.List<java.lang.String> getKeyXpathList()
Gets the key XPath list.- Returns:
- the key XPath list
-
setKeyXpathList
public void setKeyXpathList(java.util.List<java.lang.String> keyXpathList)
Sets the key XPath list.- Parameters:
keyXpathList
- the new key XPath list
-
addKeyXpath
public void addKeyXpath(java.lang.String keyXpath)
Adds the key XPath.- Parameters:
keyXpath
- the key XPath
-
removeKeyXpath
public void removeKeyXpath(java.lang.String keyXpath)
Removes the key XPath.- Parameters:
keyXpath
- the key XPath
-
compareTo
public int compareTo(XmlResourceKey obj)
- Specified by:
compareTo
in interfacejava.lang.Comparable<XmlResourceKey>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
clone
public XmlResourceKey clone()
- Overrides:
clone
in classjava.lang.Object
-
-