Interface AddeEntry

All Known Implementing Classes:
LocalAddeEntry, RemoteAddeEntry

public interface AddeEntry
Represents a source of ADDE data. An ADDE entry may describe a dataset on remote servers or the user's own machine.
  • Field Details

  • Method Details

    • getAddress

      Address of the server associated with the current entry. LocalAddeEntries will return localhost.
      Returns:
      Server address.
    • getGroup

      Dataset/group located on the server.
      Returns:
      ADDE group.
    • getName

      Name associated with this entry.
      Returns:
      Name associated with this entry.
    • getAccount

      Accounting information associated with the current entry. If the server does not require accounting information, this method returns DEFAULT_ACCOUNT.
      Returns:
      ADDE account object.
    • getEntryType

      Type of chooser this entry should appear under.
      Returns:
      The "type" of data associated with this entry.
    • getEntryValidity

      Does this entry represent a "valid" ADDE server.
      Returns:
      Whether or not this entry has been validated.
    • getEntrySource

      Source that specified this entry. For example; allows you to distinguish "system" entries (which cannot be removed, only disabled) from entries created by the user (full control).
      Returns:
      Source of this entry.
    • getEntryStatus

      GUI status of the entry. Differs from AddeEntry.EntryValidity in that EntryStatus controls this entry showing up in a chooser and has nothing to do with whether or not the entry is a valid ADDE server.
      Returns:
      Status of this entry.
    • getEntryText

      Handy String representation of this ADDE entry. Currently looks like ADDRESS/GROUP, but this is subject to change.
      Returns:
      Entry as a String.
    • setEntryStatus

    • getEntryAlias

    • setEntryAlias

      void setEntryAlias(String newAlias)
    • isEntryTemporary

      boolean isEntryTemporary()
      Determine whether or not this entry will be saved between application sessions.
      Returns:
      Whether or not this entry is saved for subsequent sessions.
    • asStringId

      Currently used as a identifier for convenient storage by the server manager.
      Returns:
      Identifier for this entry.
    • toString

      String representation of this entry.

      Output will typically contain internal details and as such will differ from getEntryText().

      Overrides:
      toString in class Object
      Returns:
      Entry as a String.