Class APIOperationProperties
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.SchemaTypeProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.apis.APIOperationProperties
APIOperationProperties is a class for an operation within an API specification.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAPIOperationProperties(APIOperationProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the command (eg GET, POST or method name) that is called.getPath()Return the path name to add to the network address in the API's endpoint.inthashCode()Create a hash code for this element type.voidsetCommand(String command) Set up the command (eg GET, POST or method name) that is called.voidSet up the path name to add to the network address in the API's endpoint.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.schema.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods 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
-
APIOperationProperties
public APIOperationProperties()Default constructor -
APIOperationProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getPath
Return the path name to add to the network address in the API's endpoint.- Returns:
- string path name
-
setPath
Set up the path name to add to the network address in the API's endpoint.- Parameters:
path- string path name
-
getCommand
Return the command (eg GET, POST or method name) that is called.- Returns:
- string command name
-
setCommand
Set up the command (eg GET, POST or method name) that is called.- Parameters:
command- command string
-
toString
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- 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 classSchemaTypeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classSchemaTypeProperties- Returns:
- int hash code
-