Class CollectionResourceDTO
- java.lang.Object
-
- org.opennms.netmgt.collection.dto.CollectionResourceDTO
-
public class CollectionResourceDTO extends Object
The @XmlJavaTypeAdapter annotation doesn't work properly when using the @XmlElements annotation unless we explicitly declare the types using @XmlElement. These are defined bellow as variables named workaround_*. For further details, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=419310 http://stackoverflow.com/questions/19266097/jaxb-moxy-using-xmlelements-with-xmladapter- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description CollectionResourceDTO()
CollectionResourceDTO(Resource resource, List<Attribute<?>> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Attribute<?>>
getAttributes()
Resource
getResource()
int
hashCode()
void
setAttributes(List<Attribute<?>> attributes)
void
setResource(Resource resource)
String
toString()
-