Class EndpointProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.connections.EndpointProperties
- Direct Known Subclasses:
EndpointRequestBody
EndpointProperties describes the properties of a server endpoint. The endpoint is linked
to the asset manager's server and describes its network endpoint. It is also linked to connection objects
that are used by clients to connect to the asset manager. A connection is linked to each asset
that is hosted on the asset manager.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
displayDescription, displayName
-
Constructor Summary
ConstructorDescriptionDefault constructorEndpointProperties
(EndpointProperties template) Copy/clone constructor for an Endpoint. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the stored address property for the endpoint.Returns the stored encryptionMethod property for the endpoint.getName()
Returns the stored technical name property for the endpoint.Returns the stored protocol property for the endpoint.Return the technical description for the endpoint.int
hashCode()
Create a hash code for this element type.void
setAddress
(String address) Set up the network address of the endpoint.void
setEncryptionMethod
(String encryptionMethod) Set up the encryption method used on this Endpoint.void
Set up the technical name for the endpoint.void
setProtocol
(String protocol) Set up the protocol to use for this Endpointvoid
setResourceDescription
(String resourceDescription) Set up the technical description of the endpoint.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.SupplementaryProperties
getAbbreviation, getDisplayDescription, getDisplayName, getDisplaySummary, getUsage, setAbbreviation, setDisplayDescription, setDisplayName, setDisplaySummary, setUsage
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
EndpointProperties
public EndpointProperties()Default constructor -
EndpointProperties
Copy/clone constructor for an Endpoint.- Parameters:
template
- template object to copy.
-
-
Method Details
-
setName
Set up the technical name for the endpoint.- Parameters:
name
- String name
-
getName
Returns the stored technical name property for the endpoint. If no technical name is available then null is returned.- Returns:
- String name
-
setResourceDescription
Set up the technical description of the endpoint.- Parameters:
resourceDescription
- String
-
getResourceDescription
Return the technical description for the endpoint.- Returns:
- String technicalDescription
-
setAddress
Set up the network address of the endpoint.- Parameters:
address
- String resource name
-
getAddress
Returns the stored address property for the endpoint. If no network address is available then null is returned.- Returns:
- address
-
setProtocol
Set up the protocol to use for this Endpoint- Parameters:
protocol
- String protocol name
-
getProtocol
Returns the stored protocol property for the endpoint. If no protocol is available then null is returned.- Returns:
- protocol
-
setEncryptionMethod
Set up the encryption method used on this Endpoint.- Parameters:
encryptionMethod
- String name
-
getEncryptionMethod
Returns the stored encryptionMethod property for the endpoint. This is an open type allowing the information needed to work with a specific encryption mechanism used by the endpoint to be defined. If no encryptionMethod property is available (typically because this is an unencrypted endpoint) then null is returned.- Returns:
- encryption method information
-
toString
Standard toString method.- Overrides:
toString
in classSupplementaryProperties
- 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:
equals
in classSupplementaryProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classSupplementaryProperties
- Returns:
- int hash code
-