Class SerializedCollection
- java.lang.Object
-
- org.opennms.netmgt.graph.persistence.converter.collection.SerializedCollection
-
public class SerializedCollection extends java.lang.ObjectRepresents aCollectionto be persisted as Json string. This class contains the serialized objects of the original Java object, as well as the collection type, to later de-serialize accordingly.- See Also:
CollectionConverter
-
-
Constructor Summary
Constructors Constructor Description SerializedCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<SerializedCollectionEntry>getEntries()java.lang.ClassgetType()inthashCode()voidsetEntries(java.util.List<SerializedCollectionEntry> entries)voidsetType(java.lang.Class type)java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
-
setType
public void setType(java.lang.Class type)
-
getEntries
public java.util.List<SerializedCollectionEntry> getEntries()
-
setEntries
public void setEntries(java.util.List<SerializedCollectionEntry> entries)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-