ca.ucalgary.services.util
Class MobySpecWrapper
java.lang.Object
ca.ucalgary.services.util.MobySpecWrapper
- Direct Known Subclasses:
- WSDLConfig, XHTMLForm
public class MobySpecWrapper
- extends Object
Base class for implementing classes that parse some existing service specification
enhanced to wrap the operations with Moby Semantic information, such as CGIs and WSDL services.
Method Summary |
String |
getCentralEndpoint()
|
String |
getContactEmail()
|
Map<String,String> |
getFixedParams()
|
Map<String,String> |
getMobyParams2ServiceParams()
|
Map<String,String> |
getPrimaryInputFormats()
Note that the string values for the formats are specialized for the
various LegacyService child classes, as they will all have their own naming scheme for legacy
formats. |
Map<String,String> |
getPrimaryInputs()
|
Map<String,String> |
getPrimaryOutputFormats()
|
Map<String,String> |
getPrimaryOutputs()
|
String |
getProviderURI()
|
Map<String,String> |
getSecondaryInputFormats()
|
Map<String,String> |
getSecondaryInputs()
|
String |
getServiceDesc()
|
String |
getServiceName()
|
String[] |
getServiceNames()
|
String |
getServiceType()
|
URL |
getSpecURL()
|
MobyUnitTest[] |
getUnitTests()
|
void |
setCentralEndpoint(String ep)
|
void |
setContactEmail(String email)
|
void |
setCurrentService(String serviceToReport)
|
void |
setFixedParams(Map<String,String> params)
|
void |
setMobyParams2ServiceParams(Map<String,String> mobyName2serviceName)
Primarily for use by systems that allow renaming of params, since SAWSDL doesn't directly |
void |
setPrimaryInputFormats(Map<String,String> specs)
|
void |
setPrimaryInputs(Map<String,String> specs)
|
void |
setPrimaryOutputFormats(Map<String,String> specs)
|
void |
setPrimaryOutputs(Map<String,String> specs)
|
void |
setProviderURI(String uri)
|
void |
setSecondaryInputFormats(Map<String,String> specs)
|
void |
setSecondaryInputs(Map<String,String> specs)
|
void |
setServiceDesc(String desc)
|
void |
setServiceType(String type)
|
void |
setSpecURL(URL serviceSpecURL)
location of the WSDL, CGI form, etc., only one per class instance |
void |
setUnitTests(MobyUnitTest[] tests)
|
MobySpecWrapper
public MobySpecWrapper()
getMobyParams2ServiceParams
public Map<String,String> getMobyParams2ServiceParams()
setMobyParams2ServiceParams
public void setMobyParams2ServiceParams(Map<String,String> mobyName2serviceName)
- Primarily for use by systems that allow renaming of params, since SAWSDL doesn't directly
getServiceNames
public String[] getServiceNames()
setCurrentService
public void setCurrentService(String serviceToReport)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setSpecURL
public void setSpecURL(URL serviceSpecURL)
- location of the WSDL, CGI form, etc., only one per class instance
getSpecURL
public URL getSpecURL()
getServiceName
public String getServiceName()
setServiceType
public void setServiceType(String type)
getServiceType
public String getServiceType()
setServiceDesc
public void setServiceDesc(String desc)
getServiceDesc
public String getServiceDesc()
setProviderURI
public void setProviderURI(String uri)
getProviderURI
public String getProviderURI()
setCentralEndpoint
public void setCentralEndpoint(String ep)
getCentralEndpoint
public String getCentralEndpoint()
setContactEmail
public void setContactEmail(String email)
getContactEmail
public String getContactEmail()
setPrimaryInputs
public void setPrimaryInputs(Map<String,String> specs)
- Parameters:
specs
- Map, where mobyservlet_param_spec has the form paramName:ObjectClass as per the mobyService annotation mechanism
getPrimaryInputs
public Map<String,String> getPrimaryInputs()
setSecondaryInputFormats
public void setSecondaryInputFormats(Map<String,String> specs)
getSecondaryInputFormats
public Map<String,String> getSecondaryInputFormats()
setPrimaryInputFormats
public void setPrimaryInputFormats(Map<String,String> specs)
getPrimaryInputFormats
public Map<String,String> getPrimaryInputFormats()
- Note that the string values for the formats are specialized for the
various LegacyService child classes, as they will all have their own naming scheme for legacy
formats.
setPrimaryOutputs
public void setPrimaryOutputs(Map<String,String> specs)
getPrimaryOutputs
public Map<String,String> getPrimaryOutputs()
setPrimaryOutputFormats
public void setPrimaryOutputFormats(Map<String,String> specs)
getPrimaryOutputFormats
public Map<String,String> getPrimaryOutputFormats()
setSecondaryInputs
public void setSecondaryInputs(Map<String,String> specs)
- Parameters:
specs
- Map
getSecondaryInputs
public Map<String,String> getSecondaryInputs()
setFixedParams
public void setFixedParams(Map<String,String> params)
getFixedParams
public Map<String,String> getFixedParams()
setUnitTests
public void setUnitTests(MobyUnitTest[] tests)
getUnitTests
public MobyUnitTest[] getUnitTests()
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010