Package org.symphonyoss.s2.canon.model
Class AbstractParameter
- java.lang.Object
-
- org.symphonyoss.s2.canon.model.ModelElement
-
- org.symphonyoss.s2.canon.model.AbstractParameter
-
- Direct Known Subclasses:
Parameter,ResponseHeader
public abstract class AbstractParameter extends ModelElement
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractParameter(ModelElement parent, ParserContext parserContext, String type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCanFailValidation()booleangetIsRequired()ReferenceOrSchemagetSchema()StringtoString()-
Methods inherited from class org.symphonyoss.s2.canon.model.ModelElement
add, add, capitalize, generate, generateChildren, getAttributes, getBaseSchema, getByPath, getCamelCapitalizedName, getCamelName, 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, validate
-
-
-
-
Constructor Detail
-
AbstractParameter
protected AbstractParameter(ModelElement parent, ParserContext parserContext, String type, String name)
-
-
Method Detail
-
getIsRequired
public boolean getIsRequired()
-
getCanFailValidation
public boolean getCanFailValidation()
- Overrides:
getCanFailValidationin classModelElement
-
getSchema
public ReferenceOrSchema getSchema()
-
toString
public String toString()
- Overrides:
toStringin classModelElement
-
-