Interface IStarInfoSource

All Known Implementing Classes:
VSXWebServiceStarInfoSource

public interface IStarInfoSource
This interface must be implemented by any class wishing to retrieve star name or AUID from a database.
  • Method Details

    • getStarByName

      StarInfo getStarByName(String name) throws Exception
      Return the AUID of the named star.
      Parameters:
      name - The star name or alias.
      Returns:
      Information about the star, e.g. name, AUID, period.
      Throws:
      Exception
    • getStarByName

      StarInfo getStarByName(String name, double minJD, double maxJD) throws Exception
      Return the AUID of the named star.
      Parameters:
      name - The star name or alias.
      minJD - The minimum JD of the range to be loaded.
      maxJD - The maximum JD of the range to be loaded.
      Returns:
      Information about the star, e.g. name, AUID, period.
      Throws:
      Exception
    • getStarByAUID

      StarInfo getStarByAUID(String auid) throws Exception
      Return the name of the star given an AUID.
      Parameters:
      name - The AUID.
      Returns:
      Information about the star, e.g. name, AUID, period.
      Throws:
      Exception
    • getStarByAUID

      StarInfo getStarByAUID(String auid, double minJD, double maxJD) throws Exception
      Return the name of the star given an AUID.
      Parameters:
      name - The AUID.
      minJD - The minimum JD of the range to be loaded.
      maxJD - The maximum JD of the range to be loaded.
      Returns:
      Information about the star, e.g. name, AUID, period.
      Throws:
      Exception