com.sas.drugdev.remote.type
Interface TypeService


public interface TypeService

The TypeService is the entry point into information about the typedefs defined in SDD. The main interface in the Type API is the Type interface.


Method Summary
 RemoteType getType(java.lang.String name)
          Get the Type with the given name, null if the type doesn't exist.
 java.util.List getTypes()
          Get a list of all Types defined in SDD.
 

Method Detail

getType

public RemoteType getType(java.lang.String name)
                   throws RemoteException,
                          InvalidSessionException
Get the Type with the given name, null if the type doesn't exist.

Parameters:
name - name of the type to retrieve
Returns:
the Type with the given name, null if the type doesn't exist.
Throws:
RemoteException - if a server or transport error occurs
InvalidSessionException - if the current session is expired or has been invalidated

getTypes

public java.util.List getTypes()
                        throws RemoteException,
                               InvalidSessionException
Get a list of all Types defined in SDD.

Returns:
a list of Type objects
Throws:
RemoteException - if a server or transport error occurs
InvalidSessionException - if the current session is expired or has been invalidated