public class Reference extends Object implements Serializable
| Constructor and Description |
|---|
Reference() |
Reference(Reference reference) |
Reference(String className,
String name,
ReferenceType type) |
Reference(String className,
String name,
ReferenceType type,
Map<String,Reference> parametrizedTypeArguments,
boolean addParametrizedTypeNameExtension) |
Reference(String className,
String name,
ReferenceType type,
String graphQlClassName) |
Reference(String className,
String name,
ReferenceType type,
String graphQlClassName,
Map<String,Reference> parametrizedTypeArguments,
boolean addParametrizedTypeNameExtension) |
Reference(String className,
String name,
ReferenceType type,
String graphQlClassName,
Map<String,Reference> parametrizedTypeArguments,
boolean addParametrizedTypeNameExtension,
AdaptTo adaptTo,
AdaptWith adaptWith,
List<DirectiveInstance> directiveInstances) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirectiveInstance(DirectiveInstance directiveInstance) |
boolean |
equals(Object obj) |
AdaptTo |
getAdaptTo() |
AdaptWith |
getAdaptWith() |
String |
getClassName()
This represent the Java Class Name
|
List<DirectiveInstance> |
getDirectiveInstances() |
String |
getGraphQlClassName()
The class into which this reference can be converted, which can be handled by graphql
For example, String for Dates or formatted Numbers, BigInteger for long and BigInteger.
|
String |
getName()
This represents the GraphQL Name
|
Map<String,Reference> |
getParametrizedTypeArguments() |
ReferenceType |
getType()
This represent the GraphQL Type
|
Wrapper |
getWrapper() |
boolean |
hasDirectiveInstances() |
int |
hashCode() |
boolean |
hasWrapper() |
boolean |
isAdaptingTo() |
boolean |
isAdaptingWith() |
boolean |
isAddParametrizedTypeNameExtension() |
void |
setAdaptTo(AdaptTo adaptTo) |
void |
setAdaptWith(AdaptWith adaptWith) |
void |
setAddParametrizedTypeNameExtension(boolean addParametrizedTypeNameExtension) |
void |
setClassName(String className) |
void |
setDirectiveInstances(List<DirectiveInstance> directiveInstances) |
void |
setGraphQlClassName(String graphQlClassName) |
void |
setName(String name) |
void |
setParametrizedTypeArguments(Map<String,Reference> parametrizedTypeArguments) |
void |
setType(ReferenceType type) |
void |
setWrapper(Wrapper wrapper) |
String |
toString() |
public Reference()
public Reference(String className, String name, ReferenceType type, String graphQlClassName, Map<String,Reference> parametrizedTypeArguments, boolean addParametrizedTypeNameExtension)
public Reference(String className, String name, ReferenceType type, String graphQlClassName)
public Reference(String className, String name, ReferenceType type, String graphQlClassName, Map<String,Reference> parametrizedTypeArguments, boolean addParametrizedTypeNameExtension, AdaptTo adaptTo, AdaptWith adaptWith, List<DirectiveInstance> directiveInstances)
public Reference(String className, String name, ReferenceType type)
public Reference(String className, String name, ReferenceType type, Map<String,Reference> parametrizedTypeArguments, boolean addParametrizedTypeNameExtension)
public Reference(Reference reference)
public String getClassName()
public void setClassName(String className)
public String getName()
public void setName(String name)
public ReferenceType getType()
public void setType(ReferenceType type)
public String getGraphQlClassName()
public void setGraphQlClassName(String graphQlClassName)
public AdaptTo getAdaptTo()
public void setAdaptTo(AdaptTo adaptTo)
public boolean isAdaptingTo()
public AdaptWith getAdaptWith()
public void setAdaptWith(AdaptWith adaptWith)
public boolean isAdaptingWith()
public void setParametrizedTypeArguments(Map<String,Reference> parametrizedTypeArguments)
public boolean isAddParametrizedTypeNameExtension()
public void setAddParametrizedTypeNameExtension(boolean addParametrizedTypeNameExtension)
public List<DirectiveInstance> getDirectiveInstances()
public boolean hasDirectiveInstances()
public void setDirectiveInstances(List<DirectiveInstance> directiveInstances)
public void addDirectiveInstance(DirectiveInstance directiveInstance)
public Wrapper getWrapper()
public void setWrapper(Wrapper wrapper)
public boolean hasWrapper()
Copyright © 2018–2022. All rights reserved.