Class PortProperties
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.itinfrastructure.properties.PortProperties
PortProperties is a class for representing a generic port for a process. The typeName is set to indicate it is either a
PortAlias (part of a choreographing process) or PortImplementation (part of an implemented process).
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPortProperties(PortProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return a human memorable name for the port.org.odpi.openmetadata.frameworks.openmetadata.enums.PortTypeReturn the direction of data flow of the port.inthashCode()Return hash code based on properties.voidsetDisplayName(String displayName) Set up a human memorable name for the port.voidsetPortType(org.odpi.openmetadata.frameworks.openmetadata.enums.PortType portType) Set up the direction of data flow of the port.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.itinfrastructure.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
PortProperties
public PortProperties()Default constructor -
PortProperties
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Details
-
getDisplayName
Return a human memorable name for the port.- Returns:
- string name
-
setDisplayName
Set up a human memorable name for the port.- Parameters:
displayName- string name
-
getPortType
public org.odpi.openmetadata.frameworks.openmetadata.enums.PortType getPortType()Return the direction of data flow of the port.- Returns:
- portType enum
-
setPortType
public void setPortType(org.odpi.openmetadata.frameworks.openmetadata.enums.PortType portType) Set up the direction of data flow of the port.- Parameters:
portType- portType enum
-
toString
Standard toString method.- Overrides:
toStringin classReferenceableProperties- 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 classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-