org.dlese.dpc.serviceclients.cat
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 Summary |
GetStandard()
Constructor for the GetStandard object |
GetStandard(String username,
String password,
String baseUrl)
Constructor for the GetStandard object supplying username, password and
baseUrl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 usernamepassword
- the client passwordbaseUrl
- the service baseUrl
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