Package com.strongdm.api
Class NodeHistory
java.lang.Object
com.strongdm.api.NodeHistory
NodeHistory records the state of a Node at a given point in time,
where every change (create, update and delete) to a Node produces an
NodeHistory record.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Activity that produced this change to the Node.If this Node was deleted, the time it was deleted.getNode()
The complete Node state at this time.The time at which the Node state was recorded.void
setActivityId
(String in) The unique identifier of the Activity that produced this change to the Node.void
setDeletedAt
(Date in) If this Node was deleted, the time it was deleted.void
The complete Node state at this time.void
setTimestamp
(Date in) The time at which the Node state was recorded.
-
Constructor Details
-
NodeHistory
public NodeHistory()
-
-
Method Details
-
getActivityId
The unique identifier of the Activity that produced this change to the Node. May be empty for some system-initiated updates. -
setActivityId
The unique identifier of the Activity that produced this change to the Node. May be empty for some system-initiated updates. -
getDeletedAt
If this Node was deleted, the time it was deleted. -
setDeletedAt
If this Node was deleted, the time it was deleted. -
getNode
The complete Node state at this time. -
setNode
The complete Node state at this time. -
getTimestamp
The time at which the Node state was recorded. -
setTimestamp
The time at which the Node state was recorded.
-