Package be.vlaanderen.vip.magda.client
Class MagdaRequest
java.lang.Object
be.vlaanderen.vip.magda.client.MagdaRequest
- Direct Known Subclasses:
PersonMagdaRequest
,SubjectMagdaRequest
The common part of a request to a MAGDA service. Has subclasses for specific service/versions.
Contains:
- correlationId: unique correlation ID of the request
- requestId: unique ID of the request
- registration: registration code that can be resolved by a MagdaHoedanigService to obtain registration info (defaults to code "default" if not specified)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
MagdaRequest.Builder<SELF extends MagdaRequest.Builder<SELF>>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
fillIn
(MagdaDocument request, MagdaRegistrationInfo magdaRegistrationInfo) protected void
fillInCommonFields
(MagdaDocument request, MagdaRegistrationInfo magdaRegistrationInfo) abstract SubjectIdentificationNumber
abstract MagdaServiceIdentification
toMagdaDocument
(MagdaRegistrationInfo magdaRegistrationInfo)
-
Field Details
-
DEFAULT_REGISTRATION
- See Also:
-
-
Constructor Details
-
MagdaRequest
-
-
Method Details
-
magdaServiceIdentification
-
getSubject
-
toMagdaDocument
-
fillInCommonFields
protected void fillInCommonFields(MagdaDocument request, MagdaRegistrationInfo magdaRegistrationInfo) -
fillIn
-