Class GraphQLErrorImpl
java.lang.Object
com.commercetools.api.models.graph_ql.GraphQLErrorImpl
- All Implemented Interfaces:
GraphQLError
,io.vrap.rmf.base.client.ModelBase
public class GraphQLErrorImpl
extends Object
implements GraphQLError, io.vrap.rmf.base.client.ModelBase
GraphQLError
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Represents a single error.getPath()
int
hashCode()
void
setExtensions
(GraphQLErrorObject extensions) Represents a single error.void
setLocations
(GraphQLErrorLocation... locations) set locationsvoid
setLocations
(List<GraphQLErrorLocation> locations) set locationsvoid
setMessage
(String message) set messagevoid
set pathvoid
set pathMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.graph_ql.GraphQLError
withGraphQLError
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLErrorImpl
public GraphQLErrorImpl()create empty instance
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceGraphQLError
- Returns:
- message
-
getLocations
- Specified by:
getLocations
in interfaceGraphQLError
- Returns:
- locations
-
getPath
- Specified by:
getPath
in interfaceGraphQLError
- Returns:
- path
-
getExtensions
Represents a single error.
- Specified by:
getExtensions
in interfaceGraphQLError
- Returns:
- extensions
-
setMessage
Description copied from interface:GraphQLError
set message- Specified by:
setMessage
in interfaceGraphQLError
- Parameters:
message
- value to be set
-
setLocations
Description copied from interface:GraphQLError
set locations- Specified by:
setLocations
in interfaceGraphQLError
- Parameters:
locations
- values to be set
-
setLocations
Description copied from interface:GraphQLError
set locations- Specified by:
setLocations
in interfaceGraphQLError
- Parameters:
locations
- values to be set
-
setPath
Description copied from interface:GraphQLError
set path- Specified by:
setPath
in interfaceGraphQLError
- Parameters:
path
- values to be set
-
setPath
Description copied from interface:GraphQLError
set path- Specified by:
setPath
in interfaceGraphQLError
- Parameters:
path
- values to be set
-
setExtensions
Description copied from interface:GraphQLError
Represents a single error.
- Specified by:
setExtensions
in interfaceGraphQLError
- Parameters:
extensions
- value to be set
-
equals
-
hashCode
-