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 java.lang.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)
java.util.Date
getChangeSetDate()
java.util.List<E>
getEdgesAdded()
java.util.List<E>
getEdgesRemoved()
java.util.List<E>
getEdgesUpdated()
Focus
getFocus()
GraphInfo
getGraphInfo()
java.lang.String
getNamespace()
java.util.List<V>
getVerticesAdded()
java.util.List<V>
getVerticesRemoved()
java.util.List<V>
getVerticesUpdated()
boolean
hasChanges()
boolean
hasFocusChanged()
boolean
hasGraphInfoChanged()
-
-
-
Constructor Detail
-
ChangeSet
public ChangeSet(ChangeSet.ChangeSetBuilder builder)
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
-
getChangeSetDate
public java.util.Date getChangeSetDate()
-
getGraphInfo
public GraphInfo getGraphInfo()
-
getFocus
public Focus getFocus()
-
getVerticesAdded
public java.util.List<V> getVerticesAdded()
-
getVerticesRemoved
public java.util.List<V> getVerticesRemoved()
-
getVerticesUpdated
public java.util.List<V> getVerticesUpdated()
-
getEdgesAdded
public java.util.List<E> getEdgesAdded()
-
getEdgesRemoved
public java.util.List<E> getEdgesRemoved()
-
getEdgesUpdated
public java.util.List<E> getEdgesUpdated()
-
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)
-
-