public abstract class Type extends Schema
| Constructor and Description |
|---|
Type(ModelElement parent,
ParserContext context,
String type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static AbstractSchema |
create(ModelElement parent,
ParserContext context,
ParserContext node,
String name) |
ModelElement |
getElementComponent() |
Schema |
getElementSchema()
For an array type this is the schema of a single element of the array.
|
EnumSchema |
getEnum() |
boolean |
getHasSet() |
boolean |
getIsArraySchema() |
boolean |
getIsGenerateFacade() |
boolean |
getIsObjectSchema() |
boolean |
isEnumAllowed() |
getBaseSchema, getComponent, getSuperClassesisResolvedcreateSchema, generateChildren, getIsAnonymousInnerClass, isRequired, toString, toString, toString, toStringadd, add, capitalize, generate, getAttributes, getByPath, getCamelCapitalizedName, getCamelName, getCanFailValidation, getChildren, getContext, getDescription, getElementType, getFields, getFormat, getHasByteString, getHasCollections, getHasList, getIsComponent, getIsGenerateBuilderFacade, getIsObjectType, getIsTypeDef, getModel, getName, getParent, getReference, getReferencedTypes, getReferencedTypes, getSchemas, getSchemas, getSnakeCapitalizedName, getSnakeName, getSummary, resolve, validatepublic Type(ModelElement parent, ParserContext context, String type, String name)
public static AbstractSchema create(ModelElement parent, ParserContext context, ParserContext node, String name)
public Schema getElementSchema()
AbstractSchemagetElementSchema in class AbstractSchemapublic ModelElement getElementComponent()
getElementComponent in class ModelElementpublic boolean getIsArraySchema()
getIsArraySchema in class AbstractSchemapublic boolean getIsObjectSchema()
getIsObjectSchema in class AbstractSchemapublic boolean getIsGenerateFacade()
getIsGenerateFacade in class ModelElementpublic boolean isEnumAllowed()
public EnumSchema getEnum()
getEnum in class ModelElementpublic boolean getHasSet()
getHasSet in class ModelElementCopyright © 2018 Symphony Software Foundation. All rights reserved.