Package org.symphonyoss.s2.canon.model
Class AbstractPayload
- java.lang.Object
-
- org.symphonyoss.s2.canon.model.ModelElement
-
- org.symphonyoss.s2.canon.model.AbstractPayload
-
public class AbstractPayload extends ModelElement
-
-
Constructor Summary
Constructors Constructor Description AbstractPayload(Operation parent, ParserContext parserContext, String elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetIsMultiple()booleangetIsRequired()ReferenceOrSchemagetSchema()voidvalidate()-
Methods inherited from class org.symphonyoss.s2.canon.model.ModelElement
add, add, capitalize, generate, generateChildren, getAttributes, getBaseSchema, getByPath, getCamelCapitalizedName, getCamelName, getCanFailValidation, getChildren, getComponent, getContext, getDescription, getElementComponent, getElementSchema, getElementType, getEnum, getFields, getFormat, getHasByteString, getHasCollections, getHasList, getHasSet, getIsArraySchema, getIsComponent, getIsGenerateBuilderFacade, getIsGenerateFacade, getIsObjectSchema, getIsObjectType, getIsTypeDef, getModel, getName, getParent, getReference, getReferencedTypes, getReferencedTypes, getSchemas, getSchemas, getSnakeCapitalizedName, getSnakeName, getSourceModel, getSummary, resolve, toString
-
-
-
-
Constructor Detail
-
AbstractPayload
public AbstractPayload(Operation parent, ParserContext parserContext, String elementType)
-
-
Method Detail
-
validate
public void validate()
- Overrides:
validatein classModelElement
-
getSchema
public ReferenceOrSchema getSchema()
-
getIsRequired
public boolean getIsRequired()
-
getIsMultiple
public boolean getIsMultiple()
-
-