Package io.smallrye.graphql.schema.model
Class Wrapper
- java.lang.Object
-
- io.smallrye.graphql.schema.model.Wrapper
-
- All Implemented Interfaces:
Serializable
public class Wrapper extends Object implements Serializable
If the type is wrapped in a generics bucket or in an array, keep the info here.- Author:
- Phillip Kruger ([email protected])
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Wrapper()
Wrapper(WrapperType wrapperType, String wrapperClassName)
Wrapper(WrapperType wrapperType, String wrapperClassName, boolean notEmpty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Wrapper
getWrapper()
String
getWrapperClassName()
WrapperType
getWrapperType()
int
hashCode()
boolean
hasWrapper()
boolean
isArray()
boolean
isCollection()
boolean
isCollectionOrArrayOrMap()
boolean
isMap()
boolean
isNotEmpty()
boolean
isOptional()
boolean
isUnknown()
void
setNotEmpty(boolean notEmpty)
void
setWrapper(Wrapper wrapper)
void
setWrapperClassName(String wrapperClassName)
void
setWrapperType(WrapperType wrapperType)
String
toString()
-
-
-
Constructor Detail
-
Wrapper
public Wrapper()
-
Wrapper
public Wrapper(WrapperType wrapperType, String wrapperClassName)
-
Wrapper
public Wrapper(WrapperType wrapperType, String wrapperClassName, boolean notEmpty)
-
-
Method Detail
-
getWrapperType
public WrapperType getWrapperType()
-
setWrapperType
public void setWrapperType(WrapperType wrapperType)
-
getWrapperClassName
public String getWrapperClassName()
-
setWrapperClassName
public void setWrapperClassName(String wrapperClassName)
-
setNotEmpty
public void setNotEmpty(boolean notEmpty)
-
isNotEmpty
public boolean isNotEmpty()
-
getWrapper
public Wrapper getWrapper()
-
setWrapper
public void setWrapper(Wrapper wrapper)
-
hasWrapper
public boolean hasWrapper()
-
isCollectionOrArrayOrMap
public boolean isCollectionOrArrayOrMap()
-
isCollection
public boolean isCollection()
-
isMap
public boolean isMap()
-
isArray
public boolean isArray()
-
isOptional
public boolean isOptional()
-
isUnknown
public boolean isUnknown()
-
-