Class SerializedCollection
- java.lang.Object
-
- org.opennms.netmgt.graph.persistence.converter.collection.SerializedCollection
-
public class SerializedCollection extends java.lang.Object
Represents aCollection
to 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 boolean
equals(java.lang.Object o)
java.util.List<SerializedCollectionEntry>
getEntries()
java.lang.Class
getType()
int
hashCode()
void
setEntries(java.util.List<SerializedCollectionEntry> entries)
void
setType(java.lang.Class type)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-