Package com.im.df.api.dml
Class DFDataTreeDataProvider.IdPathPair
- java.lang.Object
-
- com.im.df.api.dml.DFDataTreeDataProvider.IdPathPair
-
- Enclosing interface:
- DFDataTreeDataProvider
public static final class DFDataTreeDataProvider.IdPathPair extends java.lang.Object
Data structure which can uniquely identify the data to update. Contains the ID of the first vertex on the path and theDFDataTree.Path
itself. Implements hashcode and equals based on ID andDFDataTree.Path
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DFDataTreeDataProvider.IdPathPair
create(java.lang.Comparable<?> id, DFDataTree.Path path)
Factory method.boolean
equals(java.lang.Object obj)
java.lang.Comparable<?>
getId()
Returns the row ID of the first vertex on the path.DFDataTree.Path
getPath()
Returns the path.int
hashCode()
-
-
-
Method Detail
-
create
public static DFDataTreeDataProvider.IdPathPair create(java.lang.Comparable<?> id, DFDataTree.Path path)
Factory method.- Parameters:
id
- The row ID of the first vertex on the Ptah.path
- The path- Returns:
- New IdPathPair.
-
getId
public java.lang.Comparable<?> getId()
Returns the row ID of the first vertex on the path.- Returns:
- The row ID of the first vertex.
-
getPath
public DFDataTree.Path getPath()
Returns the path.- Returns:
- The path.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-