Package org.symphonyoss.s2.canon.model
Class ParameterContainer
- java.lang.Object
-
- org.symphonyoss.s2.canon.model.ModelElement
-
- org.symphonyoss.s2.canon.model.ParameterContainer
-
public class ParameterContainer extends ModelElement
-
-
Constructor Summary
Constructors Constructor Description ParameterContainer(ModelElement parent, ParserContext parserContext, String type, String name)ParameterContainer(ModelElement parent, ParserContext objectContext, String type, String name, ParserContext parametersContext, ParserContext parameterSetsContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<org.symphonyoss.s2.canon.runtime.http.ParameterLocation,Map<String,Parameter>>getLocationMap()List<Parameter>getNonPathParameters()ParametergetParameter(String name)ParametergetParameter(org.symphonyoss.s2.canon.runtime.http.ParameterLocation location, String name)Map<String,Parameter>getParameterMap()List<Parameter>getParameters()voidgetReferencedTypes(Set<AbstractSchema> result)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, getSchemas, getSchemas, getSnakeCapitalizedName, getSnakeName, getSourceModel, getSummary, resolve, toString
-
-
-
-
Constructor Detail
-
ParameterContainer
public ParameterContainer(ModelElement parent, ParserContext parserContext, String type, String name)
-
ParameterContainer
public ParameterContainer(ModelElement parent, ParserContext objectContext, String type, String name, ParserContext parametersContext, ParserContext parameterSetsContext)
-
-
Method Detail
-
validate
public void validate()
- Overrides:
validatein classModelElement
-
getParameter
public Parameter getParameter(org.symphonyoss.s2.canon.runtime.http.ParameterLocation location, String name)
-
getLocationMap
public Map<org.symphonyoss.s2.canon.runtime.http.ParameterLocation,Map<String,Parameter>> getLocationMap()
-
getReferencedTypes
public void getReferencedTypes(Set<AbstractSchema> result)
- Overrides:
getReferencedTypesin classModelElement
-
-