Class SymbolDB

Method Detail

  • refresh NEW

    protected boolean refresh()
    Description copied from class: DatabaseObject
    Tells the object to refresh its state from the database.
    Specified by:
    refresh in class DatabaseObject
    Returns:
    true if the object was able to refresh itself. Return false if the object was deleted. Objects that extend this class must implement a refresh method. If an object can never refresh itself, then it should always return false.
  • refresh NEW

    protected boolean refresh​(Record rec)
    Description copied from class: DatabaseObject
    Tells the object to refresh its state from the database using the specified record if not null. NOTE: The default implementation ignores the record and invokes refresh(). Implementations of this method must take care if multiple database tables are used since the record supplied could correspond to another object. In some cases it may be best not to override this method or ignore the record provided.
    Overrides:
    refresh in class DatabaseObject
    Parameters:
    rec - valid record associated with object's key (optional, may be null to force record lookup or other refresh technique)
    Returns:
    true if the object was able to refresh itself. Return false if record is null and object was deleted. Objects that extend this class must implement a refresh method. If an object can never refresh itself, then it should always return false.
  • setAddress NEW

    protected void setAddress​(Address addr)
  • move NEW

    protected void move​(Address oldBase,
                        Address newBase)
  • doIsPinned NEW

    protected boolean doIsPinned()
  • doSetPinned NEW

    protected void doSetPinned​(boolean pinned)
  • validateNameSource NEW

    protected SourceType validateNameSource​(java.lang.String newName,
                                            SourceType source)
    Allow symbol implementations to validate the source when setting the name of this symbol.
  • getSymbolsDynamicallyRenamedByMyRename NEW

    protected java.util.List<SymbolDB> getSymbolsDynamicallyRenamedByMyRename()
  • removeAllReferencesTo NEW

    protected void removeAllReferencesTo()