Class Graph
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<Graph>
-
- org.topbraidlive.client.java.graphql.platform.Graph
-
- All Implemented Interfaces:
Serializable
public class Graph extends AbstractResponse<Graph>
An (RDF) graph managed by the TopBraid Platform.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreationTimeStamp()
The time stamp that this graph was created (if known).User
getCreator()
The user who created this graph (if known).String
getDescription()
A human-readable description of the graph (in the user's preferred language).String
getGraphQlTypeName()
String
getLabel()
A human-readable display label.List<_ValidationResult>
getResults()
The (validation) results for the surrounding object, e.g.List<_Resource>
getType()
The types of this GraphID
getUri()
The URI of the resource.Graph
setCreationTimeStamp(String arg)
Graph
setCreator(User arg)
Graph
setDescription(String arg)
Graph
setLabel(String arg)
Graph
setResults(List<_ValidationResult> arg)
Graph
setType(List<_Resource> arg)
Graph
setUri(ID arg)
boolean
unwrapsToObject(String key)
-
Methods inherited from class com.shopify.graphql.support.AbstractResponse
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAlias
-
-
-
-
Constructor Detail
-
Graph
public Graph()
-
Graph
public Graph(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getUri
public ID getUri()
The URI of the resource.
-
getLabel
public String getLabel()
A human-readable display label.
-
getCreationTimeStamp
public String getCreationTimeStamp()
The time stamp that this graph was created (if known).
-
getCreator
public User getCreator()
The user who created this graph (if known).
-
getDescription
public String getDescription()
A human-readable description of the graph (in the user's preferred language).
-
getResults
public List<_ValidationResult> getResults()
The (validation) results for the surrounding object, e.g. current constraint violations.
-
setResults
public Graph setResults(List<_ValidationResult> arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<Graph>
-
-