Class GetStandard

java.lang.Object
org.dlese.dpc.serviceclients.cat.CATWebService
org.dlese.dpc.serviceclients.cat.GetStandard

public class GetStandard extends CATWebService
Author:
Jonathan Ostwald
  • Constructor Details

    • GetStandard

      public GetStandard()
      Constructor for the GetStandard object
    • GetStandard

      public GetStandard(String username, String password, String baseUrl)
      Constructor for the GetStandard object supplying username, password and baseUrl
      Parameters:
      username - the client username
      password - the client password
      baseUrl - the service baseUrl
  • Method Details

    • getMethod

      protected String getMethod()
      returns "getStandards"
      Specified by:
      getMethod in class CATWebService
      Returns:
      The method value
    • get

      public CATStandard get(String identifier) throws Exception
      Parameters:
      identifier - id of standard to get
      Returns:
      CATStandard instance for specified id
      Throws:
      Exception
    • main

      public static void main(String[] args)
      The main program for the GetStandard class
      Parameters:
      args - The command line arguments