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.ObjectData structure which can uniquely identify the data to update. Contains the ID of the first vertex on the path and theDFDataTree.Pathitself. 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.IdPathPaircreate(java.lang.Comparable<?> id, DFDataTree.Path path)Factory method.booleanequals(java.lang.Object obj)java.lang.Comparable<?>getId()Returns the row ID of the first vertex on the path.DFDataTree.PathgetPath()Returns the path.inthashCode()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-