Class ChangeSet<G extends ImmutableGraph<V,E>,V extends Vertex,E extends Edge>
- java.lang.Object
-
- org.opennms.netmgt.graph.api.updates.ChangeSet<G,V,E>
-
public final class ChangeSet<G extends ImmutableGraph<V,E>,V extends Vertex,E extends Edge> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeSet.ChangeSetBuilder<G extends ImmutableGraph<V,E>,V extends Vertex,E extends Edge>
-
Constructor Summary
Constructors Constructor Description ChangeSet(ChangeSet.ChangeSetBuilder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <G extends ImmutableGraph<V,E>,V extends Vertex,E extends Edge>
ChangeSet.ChangeSetBuilder<G,V,E>builder(G oldGraph, G newGraph)
Date
getChangeSetDate()
List<E>
getEdgesAdded()
List<E>
getEdgesRemoved()
List<E>
getEdgesUpdated()
Focus
getFocus()
GraphInfo
getGraphInfo()
String
getNamespace()
List<V>
getVerticesAdded()
List<V>
getVerticesRemoved()
List<V>
getVerticesUpdated()
boolean
hasChanges()
boolean
hasFocusChanged()
boolean
hasGraphInfoChanged()
-
-
-
Constructor Detail
-
ChangeSet
public ChangeSet(ChangeSet.ChangeSetBuilder builder)
-
-
Method Detail
-
getNamespace
public String getNamespace()
-
getChangeSetDate
public Date getChangeSetDate()
-
getGraphInfo
public GraphInfo getGraphInfo()
-
getFocus
public Focus getFocus()
-
hasGraphInfoChanged
public boolean hasGraphInfoChanged()
-
hasFocusChanged
public boolean hasFocusChanged()
-
hasChanges
public boolean hasChanges()
-
builder
public static <G extends ImmutableGraph<V,E>,V extends Vertex,E extends Edge> ChangeSet.ChangeSetBuilder<G,V,E> builder(G oldGraph, G newGraph)
-
-