public class LinkSyncObj extends AbstractSyncObj<Set<LinkSyncObj>>
LinkDTO objects. for high
availability.| Constructor and Description |
|---|
LinkSyncObj() |
LinkSyncObj(Set<Link> linkLists) |
| Modifier and Type | Method and Description |
|---|---|
SyncObj |
decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)
Convert a given raw ObjectNode to required SyncObject.
|
com.fasterxml.jackson.databind.node.ObjectNode |
encode(com.fasterxml.jackson.databind.node.ObjectNode rawNode)
Stuffs an empty ObjectNode with desired form of the SyncObj.
|
Set<Link> |
getLinks() |
isNull, mapper, marshal, unmarshalpublic static final String ROOT
public static final String ROOTS
public SyncObj decode(com.fasterxml.jackson.databind.node.ObjectNode jsonNode)
AbstractSyncObjdecode in class AbstractSyncObj<Set<LinkSyncObj>>jsonNode - the raw ObjectNode synthesized from the bytes retrieved
from the HA infrastructure.public com.fasterxml.jackson.databind.node.ObjectNode encode(com.fasterxml.jackson.databind.node.ObjectNode rawNode)
AbstractSyncObjencode in class AbstractSyncObj<Set<LinkSyncObj>>rawNode - the empty ObjectNode that needs to be built on.Copyright © 2014. All Rights Reserved.