Class RootRDFQuery
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<RootRDFQuery>
-
- org.topbraidlive.client.java.graphql.platform.RootRDFQuery
-
- All Implemented Interfaces:
Serializable
public class RootRDFQuery extends AbstractResponse<RootRDFQuery>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description RootRDFQuery()
RootRDFQuery(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGraphQlTypeName()
_GraphReport
getGraphReport()
The results report of the data graph, validating all resources.List<Graph>
getGraphs()
An (RDF) graph managed by the TopBraid Platform.List<GraphType>
getGraphTypes()
A graph type such as Taxonomy.List<MasterGraph>
getMasterGraphs()
A graph managed by TopBraid together with a change history and permission system.List<_TypeShape>
getRootTypeShapes()
Requests the shape information for all root types.List<_TestResult>
getTestResults()
The results of test cases._TypeShape
getTypeShapeByName()
Requests the shape information of a type with a given name._TypeShape
getTypeShapeByUri()
Requests the shape information of a type with a given URI.List<_TypeShape>
getTypeShapesForResource()
Requests the shapes that can be applied to a given resource, based on its declared RDF type.List<User>
getUsers()
A TopBraid user (account).RootRDFQuery
setGraphReport(_GraphReport arg)
RootRDFQuery
setGraphs(List<Graph> arg)
RootRDFQuery
setGraphTypes(List<GraphType> arg)
RootRDFQuery
setMasterGraphs(List<MasterGraph> arg)
RootRDFQuery
setRootTypeShapes(List<_TypeShape> arg)
RootRDFQuery
setTestResults(List<_TestResult> arg)
RootRDFQuery
setTypeShapeByName(_TypeShape arg)
RootRDFQuery
setTypeShapeByUri(_TypeShape arg)
RootRDFQuery
setTypeShapesForResource(List<_TypeShape> arg)
RootRDFQuery
setUsers(List<User> 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
-
RootRDFQuery
public RootRDFQuery()
-
RootRDFQuery
public RootRDFQuery(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
setGraphs
public RootRDFQuery setGraphs(List<Graph> arg)
-
setGraphTypes
public RootRDFQuery setGraphTypes(List<GraphType> arg)
-
getMasterGraphs
public List<MasterGraph> getMasterGraphs()
A graph managed by TopBraid together with a change history and permission system.
-
setMasterGraphs
public RootRDFQuery setMasterGraphs(List<MasterGraph> arg)
-
setUsers
public RootRDFQuery setUsers(List<User> arg)
-
getGraphReport
public _GraphReport getGraphReport()
The results report of the data graph, validating all resources.
-
setGraphReport
public RootRDFQuery setGraphReport(_GraphReport arg)
-
getRootTypeShapes
public List<_TypeShape> getRootTypeShapes()
Requests the shape information for all root types.
-
setRootTypeShapes
public RootRDFQuery setRootTypeShapes(List<_TypeShape> arg)
-
getTypeShapeByName
public _TypeShape getTypeShapeByName()
Requests the shape information of a type with a given name.
-
setTypeShapeByName
public RootRDFQuery setTypeShapeByName(_TypeShape arg)
-
getTypeShapeByUri
public _TypeShape getTypeShapeByUri()
Requests the shape information of a type with a given URI.
-
setTypeShapeByUri
public RootRDFQuery setTypeShapeByUri(_TypeShape arg)
-
getTypeShapesForResource
public List<_TypeShape> getTypeShapesForResource()
Requests the shapes that can be applied to a given resource, based on its declared RDF type.
-
setTypeShapesForResource
public RootRDFQuery setTypeShapesForResource(List<_TypeShape> arg)
-
getTestResults
public List<_TestResult> getTestResults()
The results of test cases.
-
setTestResults
public RootRDFQuery setTestResults(List<_TestResult> arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<RootRDFQuery>
-
-