|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.business.mycarenetcommons.builders.util.CareProviderBuilder
public class CareProviderBuilder
builds a CareProvider
object with this builder object. create the builder , add the different parts with the builder methods, and
call build to retrieve the filled CareProvider
object.
Constructor Summary | |
---|---|
CareProviderBuilder(String quality,
String id)
creates the careProvider with the main identifier ( see cookbook). |
Method Summary | |
---|---|
CareProviderBuilder |
addOrganisationIdentification(Identification identification)
fill the organization in a CareProviderBuilder with the specified identification |
CareProviderBuilder |
addOrganisationWithCbe(String name,
String cbeNumber)
fill a CareProviderBuilder with a cbe organization |
CareProviderBuilder |
addOrganisationWithNihii(String name,
String quality,
String value)
fill a CareProviderBuilder with a nihii organization |
CareProviderBuilder |
addPhysicalPersonIdentification(Identification identification)
fill the professional in a CareProviderBuilder with the specified identification |
CareProviderBuilder |
addPhysicalPersonWithNihii(String name,
String quality,
String value)
fill a CareProviderBuilder with a professional given by nihii |
CareProviderBuilder |
addPhysicalPersonWithSsin(String name,
String ssin)
fill a CareProviderBuilder with a professional given by ssin |
CareProvider |
build()
returns the filled careprovider. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CareProviderBuilder(String quality, String id)
quality
- the quality of the careProvider ( see cookbook ).id
- the identifier ( nihiiNumber , ssin number, .. )Method Detail |
---|
public final CareProviderBuilder addPhysicalPersonIdentification(Identification identification)
CareProviderBuilder
with the specified identification
identification
- the person data, supposed to be correctly filled in
public final CareProviderBuilder addOrganisationIdentification(Identification identification)
CareProviderBuilder
with the specified identification
identification
- the organisation data, supposed to be correctly filled in
public final CareProviderBuilder addPhysicalPersonWithSsin(String name, String ssin)
CareProviderBuilder
with a professional given by ssin
name
- the name of the personssin
- the ssin number of the person
public final CareProviderBuilder addPhysicalPersonWithNihii(String name, String quality, String value)
CareProviderBuilder
with a professional given by nihii
name
- the name of the personquality
- the quality used in the nihiivalue
- the nihii number
public final CareProviderBuilder addOrganisationWithNihii(String name, String quality, String value)
CareProviderBuilder
with a nihii organization
name
- the name of the organisationquality
- the quality of the nihii numbervalue
- the nihii number
public final CareProviderBuilder addOrganisationWithCbe(String name, String cbeNumber)
CareProviderBuilder
with a cbe organization
name
- the organisation namecbeNumber
- the CBE number
public final CareProvider build()
CareProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |