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 TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the element header associated with the properties.int
Return 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.int
hashCode()
Return hash code for this objectvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setParameterCount
(int parameterCount) Set up the count of parameters in this parameter listvoid
setParameterListType
(APIParameterListType parameterListType) Set up the type of parameter list for the API Operation.void
setProperties
(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
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in 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
-