Class APIParameterListElement
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.metadataelements.APIParameterListElement
- All Implemented Interfaces:
Serializable,MetadataElement
APIParameterListElement contains the properties and header for an APIParameterList entity retrieved from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the properties.intReturn the count of parameters in this parameter list.Return the type of parameter list for the API operation.Return the properties for the parameter list.inthashCode()Return hash code for this objectvoidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.voidsetParameterCount(int parameterCount) Set up the count of parameters in this parameter listvoidsetParameterListType(APIParameterListType parameterListType) Set up the type of parameter list for the API Operation.voidsetProperties(APIParameterListProperties properties) Set up the properties for the parameter list.toString()JSON-style toString
-
Constructor Details
-
APIParameterListElement
public APIParameterListElement()Default constructor -
APIParameterListElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
Return the properties for the parameter list.- Returns:
- schema properties (using appropriate subclass)
-
setProperties
Set up the properties for the parameter list.- Parameters:
properties- schema properties
-
getParameterListType
Return the type of parameter list for the API operation.- Returns:
- enum value
-
setParameterListType
Set up the type of parameter list for the API Operation.- Parameters:
parameterListType- enum value
-
getParameterCount
public int getParameterCount()Return the count of parameters in this parameter list.- Returns:
- String data type name
-
setParameterCount
public void setParameterCount(int parameterCount) Set up the count of parameters in this parameter list- Parameters:
parameterCount- data type name
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-