public abstract class AbstractSchema extends ModelElement
| Constructor and Description |
|---|
AbstractSchema(ModelElement parent,
ParserContext context,
String type,
String name) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractSchema |
createSchema(ParserContext context) |
protected void |
generateChildren(GenerationContext generationContext,
Map<String,Object> dataModel) |
abstract Schema |
getBaseSchema()
Get the basic schema which this type refers to.
|
abstract Schema |
getElementSchema()
For an array type this is the schema of a single element of the array.
|
boolean |
getIsAnonymousInnerClass() |
abstract boolean |
getIsArraySchema() |
abstract boolean |
getIsObjectSchema() |
boolean |
isRequired() |
String |
toString() |
protected String |
toString(List<?> children) |
protected String |
toString(StringBuffer details) |
protected String |
toString(ValueMap<String,Object> children) |
add, add, capitalize, generate, getAttributes, getByPath, getCamelCapitalizedName, getCamelName, getCanFailValidation, getChildren, getComponent, getContext, getDescription, getElementComponent, getElementType, getEnum, getFields, getFormat, getHasByteString, getHasCollections, getHasList, getHasSet, getIsComponent, getIsGenerateBuilderFacade, getIsGenerateFacade, getIsObjectType, getIsTypeDef, getModel, getName, getParent, getReference, getReferencedTypes, getReferencedTypes, getSchemas, getSchemas, getSnakeCapitalizedName, getSnakeName, getSummary, resolve, validatepublic AbstractSchema(ModelElement parent, ParserContext context, String type, String name)
protected void generateChildren(GenerationContext generationContext, Map<String,Object> dataModel) throws GenerationException
generateChildren in class ModelElementGenerationExceptionpublic abstract Schema getBaseSchema()
getBaseSchema in class ModelElementpublic abstract Schema getElementSchema()
getElementSchema in class ModelElementpublic abstract boolean getIsArraySchema()
getIsArraySchema in class ModelElementpublic abstract boolean getIsObjectSchema()
getIsObjectSchema in class ModelElementpublic boolean isRequired()
public boolean getIsAnonymousInnerClass()
protected AbstractSchema createSchema(ParserContext context)
public String toString()
toString in class ModelElementprotected String toString(StringBuffer details)
Copyright © 2018 Symphony Software Foundation. All rights reserved.