Class Endpoint
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.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. The properties for an endpoint are defined in model 0040. They include:- type definition of the specific metadata type for the endpoint.
- guid Globally unique identifier for the endpoint.
- url External link address for the endpoint properties in the metadata repository. This URL can be stored as a property in another entity to create an explicit link to this endpoint.
- qualifiedName The official (unique) name for the endpoint. This is often defined by the IT systems management organization and should be used (when available) on audit logs and error messages.
- displayName - A consumable name for the endpoint. Often a shortened form of the qualifiedName for use on user interfaces and messages. The displayName should be only be used for audit logs and error messages if the qualifiedName is not set.
- description - A description for the endpoint.
- address - The location of the asset. For network connected resources, this is typically the URL and port number (if needed) for the server where the asset is located (or at least accessible by the connector). For file-based resources, this is typically the name of the file.
- protocol - The communication protocol that the connection should use to connect to the server.
- encryptionMethod - Describes the encryption method to use (if any). This is an open value allowing information needed by the connector user to retrieve all of the information they need to work with the endpoint.
- additionalProperties - Any additional properties that the connector need to know in order to access the Asset.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected Stringdescriptionprotected StringdisplayNameprotected StringencryptionMethodprotected Stringprotocol-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetAddress()Returns the stored address property for the endpoint.StringgetDescription()Return the description for the endpoint.StringgetDisplayName()Returns the stored display name property for the endpoint.StringgetEncryptionMethod()Returns the stored encryptionMethod property for the endpoint.static ElementTypegetEndpointType()Return the standard type for an endpoint.StringgetProtocol()Returns the stored protocol property for the endpoint.inthashCode()Hash of propertiesvoidsetAddress(String address)Set up the network address of the Endpoint.voidsetDescription(String description)Set up description of the element.voidsetDisplayName(String displayName)Set up the display name for UIs and reports.voidsetEncryptionMethod(String encryptionMethod)Set up the encryption method used on this Endpoint.voidsetProtocol(String protocol)Set up the protocol to use for this EndpointStringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
Endpoint
public Endpoint()
Default constructor
-
Endpoint
public Endpoint(Endpoint templateEndpoint)
Copy/clone constructor for an Endpoint.- Parameters:
templateEndpoint- template object to copy.
-
-
Method Detail
-
getEndpointType
public static ElementType getEndpointType()
Return the standard type for an endpoint.- Returns:
- ElementType object
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for UIs and reports.- Parameters:
displayName- String name
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the endpoint. If no display name is available then null is returned.- Returns:
- displayName
-
setDescription
public void setDescription(String description)
Set up description of the element.- Parameters:
description- String
-
getDescription
public String getDescription()
Return the description for the endpoint.- Returns:
- String description
-
setAddress
public void setAddress(String address)
Set up the network address of the Endpoint.- Parameters:
address- String resource name
-
getAddress
public String getAddress()
Returns the stored address property for the endpoint. If no network address is available then null is returned.- Returns:
- address
-
setProtocol
public void setProtocol(String protocol)
Set up the protocol to use for this Endpoint- Parameters:
protocol- String protocol name
-
getProtocol
public String getProtocol()
Returns the stored protocol property for the endpoint. If no protocol is available then null is returned.- Returns:
- protocol
-
setEncryptionMethod
public void setEncryptionMethod(String encryptionMethod)
Set up the encryption method used on this Endpoint.- Parameters:
encryptionMethod- String name
-
getEncryptionMethod
public String 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
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceable- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-
-