Class SolutionPortElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SolutionPortElement
- All Implemented Interfaces:
MetadataElement
SolutionPortElement contains the properties and header for a SolutionPortElement entity retrieved from the repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorSolutionPortElement
(SolutionPortElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of ports that belong to subcomponents.Return the element header associated with the relationship.Return the properties from the relationship.Return the stub for the optional schema type describing the structure of the data passing through the port.int
hashCode()
Return hash code for this objectvoid
setDelegationPorts
(List<ElementStub> delegationPorts) Set up the list of ports that belong to subcomponents.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the relationship.void
setProperties
(SolutionPortProperties properties) Set up the properties from the relationship.void
setSchemaType
(ElementStub schemaType) Set up the stub for the optional schema type describing the structure of the data passing through the port.toString()
JSON-style toString
-
Constructor Details
-
SolutionPortElement
public SolutionPortElement()Default constructor -
SolutionPortElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the relationship.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the relationship.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getProperties
Return the properties from the relationship.- Returns:
- properties
-
setProperties
Set up the properties from the relationship.- Parameters:
properties
- property map
-
getSchemaType
Return the stub for the optional schema type describing the structure of the data passing through the port.- Returns:
- header
-
setSchemaType
Set up the stub for the optional schema type describing the structure of the data passing through the port.- Parameters:
schemaType
- header
-
getDelegationPorts
Return the list of ports that belong to subcomponents.- Returns:
- list
-
setDelegationPorts
Set up the list of ports that belong to subcomponents.- Parameters:
delegationPorts
- list
-
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
-