Package hydra.pg.graphson.syntax
Class AdjacentEdge
- java.lang.Object
-
- hydra.pg.graphson.syntax.AdjacentEdge
-
- All Implemented Interfaces:
java.io.Serializable
public class AdjacentEdge extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_ID
static Name
FIELD_NAME_PROPERTIES
static Name
FIELD_NAME_VERTEX_ID
Value
id
java.util.Map<PropertyKey,Value>
properties
static Name
TYPE_NAME
Value
vertexId
-
Constructor Summary
Constructors Constructor Description AdjacentEdge(Value id, Value vertexId, java.util.Map<PropertyKey,Value> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
AdjacentEdge
withId(Value id)
AdjacentEdge
withProperties(java.util.Map<PropertyKey,Value> properties)
AdjacentEdge
withVertexId(Value vertexId)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_ID
public static final Name FIELD_NAME_ID
-
FIELD_NAME_VERTEX_ID
public static final Name FIELD_NAME_VERTEX_ID
-
FIELD_NAME_PROPERTIES
public static final Name FIELD_NAME_PROPERTIES
-
id
public final Value id
-
vertexId
public final Value vertexId
-
properties
public final java.util.Map<PropertyKey,Value> properties
-
-
Constructor Detail
-
AdjacentEdge
public AdjacentEdge(Value id, Value vertexId, java.util.Map<PropertyKey,Value> properties)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withId
public AdjacentEdge withId(Value id)
-
withVertexId
public AdjacentEdge withVertexId(Value vertexId)
-
withProperties
public AdjacentEdge withProperties(java.util.Map<PropertyKey,Value> properties)
-
-