Package com.atlan.cache
Class ConnectionCache.ConnectionName
java.lang.Object
com.atlan.cache.ConnectionCache.ConnectionName
- All Implemented Interfaces:
ObjectName
- Enclosing class:
- ConnectionCache
Unique identity for a connection, in the form: {{type}}/{{name}}
For example: snowflake/development
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConnectionName
-
ConnectionName
-
-
Method Details
-
toString
String representation of the object's unique name.- Specified by:
toString
in interfaceObjectName
- Overrides:
toString
in classObject
- Returns:
- object's unique name
-
getName
-
getType
-
equals
Description copied from interface:ObjectName
Check whether two object names are equivalent (or not).- Specified by:
equals
in interfaceObjectName
- Overrides:
equals
in classObject
- Parameters:
o
- object name to compare against- Returns:
- true if the two names are equivalent
-
hashCode
public int hashCode()Description copied from interface:ObjectName
Calculate a unique hash code given the object name's unique characteristics.- Specified by:
hashCode
in interfaceObjectName
- Overrides:
hashCode
in classObject
- Returns:
- unique hash code for the object name
-