Class Endpoint
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
-
- org.odpi.openmetadata.accessservices.dataengine.model.Endpoint
-
- All Implemented Interfaces:
Serializable
public class Endpoint extends Referenceable
The Endpoint describes the network information necessary for a connector to connect to the server where the Asset is accessible from.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()Return the description of the endpoint.StringgetDisplayName()Return the display name of the endpoint.StringgetEncryptionMethod()Returns the stored encryption method property for the endpoint.StringgetName()Return the name of the endpoint.StringgetNetworkAddress()Returns the network address property for the endpoint.StringgetProtocol()Returns the protocol for the endpoint.inthashCode()voidsetDescription(String description)Set up the description of the endpoint.voidsetDisplayName(String displayName)Set up the display name of the endpoint.voidsetEncryptionMethod(String encryptionMethod)Set up the encryption method of the endpoint.voidsetName(String name)Set up the name of the endpoint.voidsetNetworkAddress(String networkAddress)Set up the network address of the endpoint.voidsetProtocol(String protocol)Set up the protocol of the endpoint.StringtoString()-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
Return the description of the endpoint.- Returns:
- description
-
getDisplayName
public String getDisplayName()
Return the display name of the endpoint.- Returns:
- display name
-
getEncryptionMethod
public String getEncryptionMethod()
Returns the stored encryption method property for the endpoint. This is allowing the information needed to work with a specific encryption mechanism used by the endpoint to be defined. If no encryption method property is available (typically because this is an unencrypted endpoint) then null is returned.- Returns:
- encryption method
-
getName
public String getName()
Return the name of the endpoint.- Returns:
- name
-
getNetworkAddress
public String getNetworkAddress()
Returns the network address property for the endpoint.- Returns:
- name
-
getProtocol
public String getProtocol()
Returns the protocol for the endpoint.- Returns:
- name
-
setDescription
public void setDescription(String description)
Set up the description of the endpoint.- Parameters:
description- description
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name of the endpoint.- Parameters:
displayName- display name
-
setEncryptionMethod
public void setEncryptionMethod(String encryptionMethod)
Set up the encryption method of the endpoint.- Parameters:
encryptionMethod- encryption method
-
setName
public void setName(String name)
Set up the name of the endpoint.- Parameters:
name- name
-
setNetworkAddress
public void setNetworkAddress(String networkAddress)
Set up the network address of the endpoint.- Parameters:
networkAddress- network address
-
setProtocol
public void setProtocol(String protocol)
Set up the protocol of the endpoint.- Parameters:
protocol- protocol
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classReferenceable
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classReferenceable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classReferenceable
-
toString
public String toString()
- Overrides:
toStringin classReferenceable
-
-