|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.business.mycarenetcommons.builders.impl.AbstractCommonBuilderImpl
public abstract class AbstractCommonBuilderImpl
Implementation for the CommonBuilder
interface
Field Summary |
---|
Fields inherited from interface be.ehealth.business.mycarenetcommons.builders.CommonBuilder |
---|
PROJECT_NAME_KEY |
Constructor Summary | |
---|---|
AbstractCommonBuilderImpl()
|
Method Summary | |
---|---|
CommonInput |
createCommonInput(PackageInfo packageInfo,
boolean isTest,
String inputReference)
Creates CommonInputType part with given parameters |
Origin |
createOrigin(PackageInfo packageInfo)
Create an Origin |
Routing |
createRouting(Patient patientInfo,
org.joda.time.DateTime refDate)
Create the Routing with the patientInfo |
Routing |
createRoutingToMutuality(String mutuality,
org.joda.time.DateTime refDate)
Create the Routing with the mutuality |
String |
getProjectName()
|
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters. |
void |
setProjectName(String projectName)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCommonBuilderImpl()
Method Detail |
---|
public void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementation
initialize
in interface ConfigurableImplementation
parameterMap
- Map with for each propertyString ,the input parameter as Object.
TechnicalConnectorException
- if the parameterMap is not correct.public CommonInput createCommonInput(PackageInfo packageInfo, boolean isTest, String inputReference) throws TechnicalConnectorException
CommonBuilder
createCommonInput
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the messageisTest
- true if you're running a test, false otherwiseinputReference
- the inputReference : unique reference created by the careprovider
TechnicalConnectorException
public Origin createOrigin(PackageInfo packageInfo) throws TechnicalConnectorException
Origin
createOrigin
in interface CommonBuilder
packageInfo
- the packageInfo: provides info about the software package creating the message
TechnicalConnectorException
public String getProjectName()
public void setProjectName(String projectName)
projectName
- the projectName to setpublic Routing createRouting(Patient patientInfo, org.joda.time.DateTime refDate)
Routing
with the patientInfo
createRouting
in interface CommonBuilder
patientInfo
- all the available informations about the concerned patientrefDate
- the reference date
public Routing createRoutingToMutuality(String mutuality, org.joda.time.DateTime refDate)
Routing
with the mutuality
createRoutingToMutuality
in interface CommonBuilder
mutuality
- the mutuality identifier (X00).refDate
- the reference date.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |