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 _ValidationResultQueryaddFragmentReference(Fragment<_ValidationResultQuery> fragment)Adds a_ValidationResultQueryfragment reference at the current position of the query._ValidationResultQueryconstraintComponentName()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._ValidationResultQuerydetails(_ValidationResultQueryDefinition queryDef)The sh:details of the result._ValidationResultQueryfocusNode(_RDFNodeQueryDefinition queryDef)The focus node involved in the result._ValidationResultQuerymessage()A human-readable message for the result._ValidationResultQuerypath()The RDF string of the path involved in the result._ValidationResultQuerypathLabel()A display label of the path involved in the result, typically based on sh:name._ValidationResultQueryseverity()The severity of the result, e.g._ValidationResultQuerysourceShape(_RDFNodeQueryDefinition queryDef)The source shape of the constraint._ValidationResultQuerysuggestions(_ValidationResultSuggestionQueryDefinition queryDef)Suggestions on how to fix the result._ValidationResultQueryvalue(_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_ValidationResultQueryfragment reference at the current position of the query. For example for a fragment namedtest, calling this method will add the reference...testin 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.
-
-