Package org.opennms.netmgt.model
Class SnmpInterfaceIdAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>
-
- org.opennms.netmgt.model.SnmpInterfaceIdAdapter
-
public class SnmpInterfaceIdAdapter extends XmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>
-
-
Constructor Summary
Constructors Constructor Description SnmpInterfaceIdAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<Integer>marshal(Set<OnmsIpInterface> ifaces)Set<OnmsIpInterface>unmarshal(ArrayList<Integer> ids)
-
-
-
Method Detail
-
marshal
public ArrayList<Integer> marshal(Set<OnmsIpInterface> ifaces) throws Exception
- Specified by:
marshalin classXmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>- Throws:
Exception
-
unmarshal
public Set<OnmsIpInterface> unmarshal(ArrayList<Integer> ids) throws Exception
- Specified by:
unmarshalin classXmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>- Throws:
Exception
-
-