Class _ValidationResultQuery
- java.lang.Object
-
- com.shopify.graphql.support.AbstractQuery<_ValidationResultQuery>
-
- org.topbraidlive.client.java.graphql.platform._ValidationResultQuery
-
public class _ValidationResultQuery extends AbstractQuery<_ValidationResultQuery>
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractQuery
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description _ValidationResultQuery
addFragmentReference(Fragment<_ValidationResultQuery> fragment)
Adds a_ValidationResultQuery
fragment reference at the current position of the query._ValidationResultQuery
constraintComponentName()
The local name of the constraint component, e.g.static Fragment<_ValidationResultQuery>
createFragment(String name, _ValidationResultQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition._ValidationResultQuery
details(_ValidationResultQueryDefinition queryDef)
The sh:details of the result._ValidationResultQuery
focusNode(_RDFNodeQueryDefinition queryDef)
The focus node involved in the result._ValidationResultQuery
message()
A human-readable message for the result._ValidationResultQuery
path()
The RDF string of the path involved in the result._ValidationResultQuery
pathLabel()
A display label of the path involved in the result, typically based on sh:name._ValidationResultQuery
severity()
The severity of the result, e.g._ValidationResultQuery
sourceShape(_RDFNodeQueryDefinition queryDef)
The source shape of the constraint._ValidationResultQuery
suggestions(_ValidationResultSuggestionQueryDefinition queryDef)
Suggestions on how to fix the result._ValidationResultQuery
value(_RDFNodeQueryDefinition queryDef)
The value node involved in the result.-
Methods inherited from class com.shopify.graphql.support.AbstractQuery
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAlias
-
-
-
-
Method Detail
-
constraintComponentName
public _ValidationResultQuery constraintComponentName()
The local name of the constraint component, e.g. "MinCountConstraintComponent". Empty for entries not generated by SHACL validation, e.g. mapping suggestions.
-
details
public _ValidationResultQuery details(_ValidationResultQueryDefinition queryDef)
The sh:details of the result.
-
focusNode
public _ValidationResultQuery focusNode(_RDFNodeQueryDefinition queryDef)
The focus node involved in the result.
-
message
public _ValidationResultQuery message()
A human-readable message for the result.
-
path
public _ValidationResultQuery path()
The RDF string of the path involved in the result. May match the values of path.string in GraphQL field introspection.
-
pathLabel
public _ValidationResultQuery pathLabel()
A display label of the path involved in the result, typically based on sh:name.
-
severity
public _ValidationResultQuery severity()
The severity of the result, e.g. "Warning".
-
sourceShape
public _ValidationResultQuery sourceShape(_RDFNodeQueryDefinition queryDef)
The source shape of the constraint.
-
suggestions
public _ValidationResultQuery suggestions(_ValidationResultSuggestionQueryDefinition queryDef)
Suggestions on how to fix the result.
-
value
public _ValidationResultQuery value(_RDFNodeQueryDefinition queryDef)
The value node involved in the result.
-
createFragment
public static Fragment<_ValidationResultQuery> createFragment(String name, _ValidationResultQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition. The generics nature of fragments ensures that a fragment can only be used at the right place in the GraphQL request.- Parameters:
name
- The name of the fragment, must be unique for a given GraphQL request.queryDef
- The fragment definition.- Returns:
- The fragment of a given generics type.
-
addFragmentReference
public _ValidationResultQuery addFragmentReference(Fragment<_ValidationResultQuery> fragment)
Adds a_ValidationResultQuery
fragment reference at the current position of the query. For example for a fragment namedtest
, calling this method will add the reference...test
in the query. For GraphQL types implementing an interface, there will be some similar methods using the Query type of each implemented interface.- Parameters:
fragment
- The fragment to reference.
-
-