Class APIParameterProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaAttributeProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.apis.APIParameterProperties
APIParameterProperties is a class for representing a parameter in an API specification.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAPIParameterProperties(APIParameterProperties template) Copy/clone constructor.Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the type of parameter - for example for REST APIs, is it a PathVariable or a RequestParameter?inthashCode()Create a hash code for this element type.voidsetParameterType(String parameterType) Set up the type of parameter - for example for REST APIs, is it a PathVariable or a RequestParameter?toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaAttributeProperties
getAliases, getAllowsDuplicateValues, getDataType, getDefaultValue, getDefaultValueOverride, getElementPosition, getExternalTypeGUID, getFixedValue, getIsNullable, getLength, getMaxCardinality, getMinCardinality, getMinimumLength, getNativeJavaClass, getOrderedValues, getPrecision, getSchemaType, getSignificantDigits, getSortOrder, getValidValuesSetGUID, setAliases, setAllowsDuplicateValues, setDataType, setDefaultValue, setDefaultValueOverride, setElementPosition, setExternalTypeGUID, setFixedValue, setIsNullable, setLength, setMaxCardinality, setMinCardinality, setMinimumLength, setNativeJavaClass, setOrderedValues, setPrecision, setSchemaType, setSignificantDigits, setSortOrder, setValidValuesSetGUIDMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaElementProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
APIParameterProperties
public APIParameterProperties()Default constructor -
APIParameterProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
APIParameterProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getParameterType
Return the type of parameter - for example for REST APIs, is it a PathVariable or a RequestParameter?- Returns:
- string name
-
setParameterType
Set up the type of parameter - for example for REST APIs, is it a PathVariable or a RequestParameter?- Parameters:
parameterType- string name
-
toString
Standard toString method.- Overrides:
toStringin classSchemaAttributeProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classSchemaAttributeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classSchemaAttributeProperties- Returns:
- int hash code
-