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 NameFIELD_NAME_IDstatic NameFIELD_NAME_PROPERTIESstatic NameFIELD_NAME_VERTEX_IDValueidjava.util.Map<PropertyKey,Value>propertiesstatic NameTYPE_NAMEValuevertexId
-
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 booleanequals(java.lang.Object other)inthashCode()AdjacentEdgewithId(Value id)AdjacentEdgewithProperties(java.util.Map<PropertyKey,Value> properties)AdjacentEdgewithVertexId(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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)
-
-