DLESE Tools
v1.6.0

org.dlese.dpc.serviceclients.cat
Class GetStandard

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

public class GetStandard
extends CATWebService

Author:
Jonathan Ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.serviceclients.cat.CATWebService
baseUrl, password, username
 
Constructor Summary
GetStandard()
          Constructor for the GetStandard object
GetStandard(String username, String password, String baseUrl)
          Constructor for the GetStandard object supplying username, password and baseUrl
 
Method Summary
 CATStandard get(String identifier)
           
protected  String getMethod()
          returns "getStandards"
static void main(String[] args)
          The main program for the GetStandard class
 
Methods inherited from class org.dlese.dpc.serviceclients.cat.CATWebService
getErrorMsg, getResponse, getResponse, pp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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

DLESE Tools
v1.6.0