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
Constructors -
Method Summary
-
Constructor Details
-
ConnectionName
-
ConnectionName
-
-
Method Details
-
toString
String representation of the object's unique name.- Specified by:
toStringin interfaceObjectName- Overrides:
toStringin classObject- Returns:
- object's unique name
-
getName
-
getType
-
equals
Description copied from interface:ObjectNameCheck whether two object names are equivalent (or not).- Specified by:
equalsin interfaceObjectName- Overrides:
equalsin classObject- Parameters:
o- object name to compare against- Returns:
- true if the two names are equivalent
-
hashCode
public int hashCode()Description copied from interface:ObjectNameCalculate a unique hash code given the object name's unique characteristics.- Specified by:
hashCodein interfaceObjectName- Overrides:
hashCodein classObject- Returns:
- unique hash code for the object name
-