Package org.opennms.protocols.xml.config
Class XmlGroups
- java.lang.Object
-
- org.opennms.protocols.xml.config.XmlGroups
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
XmlSource
public class XmlGroups extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable
The Class XmlGroups.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addXmlGroup(XmlGroup group)
Adds the XML group.XmlGroups
clone()
java.util.List<XmlGroup>
getXmlGroups()
Gets the XML groups.void
removeGroupByName(java.lang.String name)
Removes the group by name.void
removeXmlGroup(XmlGroup group)
Removes the XML group.void
setXmlGroups(java.util.List<XmlGroup> xmlGroups)
Sets the XML groups.
-
-
-
Constructor Detail
-
XmlGroups
public XmlGroups()
Instantiates a new XML source.
-
XmlGroups
public XmlGroups(XmlGroups copy)
-
-
Method Detail
-
getXmlGroups
public java.util.List<XmlGroup> getXmlGroups()
Gets the XML groups.- Returns:
- the XML groups
-
setXmlGroups
public void setXmlGroups(java.util.List<XmlGroup> xmlGroups)
Sets the XML groups.- Parameters:
xmlGroups
- the new XML groups
-
addXmlGroup
public void addXmlGroup(XmlGroup group)
Adds the XML group.- Parameters:
group
- the group
-
removeXmlGroup
public void removeXmlGroup(XmlGroup group)
Removes the XML group.- Parameters:
group
- the group
-
removeGroupByName
public void removeGroupByName(java.lang.String name)
Removes the group by name.- Parameters:
name
- the name
-
clone
public XmlGroups clone()
- Overrides:
clone
in classjava.lang.Object
-
-