Class APIElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.APIElement
- All Implemented Interfaces:
MetadataElement
APIElement contains the properties and header for a DeployedAPI entity retrieved from the metadata repository.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return details of the APIReturn the element header associated with the properties.int
hashCode()
Return hash code for this objectvoid
setAPIProperties
(APIProperties apiProperties) Set up API propertiesvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.toString()
JSON-style toString
-
Constructor Details
-
APIElement
public APIElement()Default constructor -
APIElement
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
-
getAPIProperties
Return details of the API- Returns:
- API properties
-
setAPIProperties
Set up API properties- Parameters:
apiProperties
- API properties
-
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
-