Package graphql.schema.diffing
Class Vertex
- java.lang.Object
-
- graphql.schema.diffing.Vertex
-
public class Vertex extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Vertex.VertexData
-
Constructor Summary
Constructors Constructor Description Vertex(java.lang.String type, java.lang.String debugName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.String propName, java.lang.Object propValue)
<T> T
get(java.lang.String propName)
java.lang.String
getDebugName()
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
<T> T
getProperty(java.lang.String name)
java.lang.String
getType()
boolean
isBuiltInType()
boolean
isEqualTo(Vertex other)
boolean
isIsolated()
boolean
isOfType(java.lang.String type)
static Vertex
newIsolatedNode(java.lang.String debugName)
static java.util.Set<Vertex>
newIsolatedNodes(int count, java.lang.String debugName)
void
setBuiltInType(boolean builtInType)
Vertex.VertexData
toData()
java.lang.String
toString()
-
-
-
Method Detail
-
newIsolatedNode
public static Vertex newIsolatedNode(java.lang.String debugName)
-
newIsolatedNodes
public static java.util.Set<Vertex> newIsolatedNodes(int count, java.lang.String debugName)
-
isIsolated
public boolean isIsolated()
-
add
public void add(java.lang.String propName, java.lang.Object propValue)
-
getType
public java.lang.String getType()
-
get
public <T> T get(java.lang.String propName)
-
getProperty
public <T> T getProperty(java.lang.String name)
-
getName
public java.lang.String getName()
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
-
getDebugName
public java.lang.String getDebugName()
-
isOfType
public boolean isOfType(java.lang.String type)
-
isEqualTo
public boolean isEqualTo(Vertex other)
-
isBuiltInType
public boolean isBuiltInType()
-
setBuiltInType
public void setBuiltInType(boolean builtInType)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toData
public Vertex.VertexData toData()
-
-