public final class InterfaceType extends Reference
| Constructor and Description |
|---|
InterfaceType() |
InterfaceType(String className,
String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(Field field) |
void |
addInterface(Reference interfaceType) |
String |
getDescription() |
Map<String,Field> |
getFields() |
Set<Reference> |
getInterfaces() |
boolean |
hasField(String fieldName) |
boolean |
hasFields() |
boolean |
hasInterfaces() |
void |
setDescription(String description) |
void |
setFields(Map<String,Field> fields) |
void |
setInterfaces(Set<Reference> interfaces) |
getClassName, getGraphQlClassName, getMappingInfo, getName, getParametrizedTypeArguments, getType, hasMappingInfo, isAddParametrizedTypeNameExtension, setAddParametrizedTypeNameExtension, setClassName, setGraphQlClassName, setMappingInfo, setName, setParametrizedTypeArguments, setType, toStringpublic String getDescription()
public void setDescription(String description)
public void addField(Field field)
public boolean hasFields()
public boolean hasField(String fieldName)
public void addInterface(Reference interfaceType)
public boolean hasInterfaces()
Copyright © 2018–2020. All rights reserved.