Class DelegatingConnectionRecord

    • Constructor Detail

      • DelegatingConnectionRecord

        public DelegatingConnectionRecord​(ConnectionRecord record)
        Wraps the given ConnectionRecord such that all function calls against this DelegatingConnectionRecord will be delegated to it.
        Parameters:
        record - The record to wrap.
    • Method Detail

      • getDelegateConnectionRecord

        protected ConnectionRecord getDelegateConnectionRecord()
        Returns the underlying ConnectionRecord wrapped by this DelegatingConnectionRecord.
        Returns:
        The ConnectionRecord wrapped by this DelegatingConnectionRecord.
      • getConnectionIdentifier

        public String getConnectionIdentifier()
        Description copied from interface: ConnectionRecord
        Returns the identifier of the connection associated with this connection record.
        Specified by:
        getConnectionIdentifier in interface ConnectionRecord
        Returns:
        The identifier of the connection associated with this connection record.
      • getConnectionName

        public String getConnectionName()
        Description copied from interface: ConnectionRecord
        Returns the name of the connection associated with this connection record.
        Specified by:
        getConnectionName in interface ConnectionRecord
        Returns:
        The name of the connection associated with this connection record.
      • getSharingProfileIdentifier

        public String getSharingProfileIdentifier()
        Description copied from interface: ConnectionRecord
        Returns the identifier of the sharing profile that was used to access the connection associated with this connection record. If the connection was accessed directly (without involving a sharing profile), this will be null.
        Specified by:
        getSharingProfileIdentifier in interface ConnectionRecord
        Returns:
        The identifier of the sharing profile used to access the connection associated with this connection record, or null if the connection was accessed directly.
      • getSharingProfileName

        public String getSharingProfileName()
        Description copied from interface: ConnectionRecord
        Returns the name of the sharing profile that was used to access the connection associated with this connection record. If the connection was accessed directly (without involving a sharing profile), this will be null.
        Specified by:
        getSharingProfileName in interface ConnectionRecord
        Returns:
        The name of the sharing profile used to access the connection associated with this connection record, or null if the connection was accessed directly.