-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/Ajout des champ de nack dans RC-REF #34
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small updates to order and builder logic
@@ -26,7 +26,7 @@ public class ReferenceWrapperBuilder { | |||
|
|||
public ReferenceWrapperBuilder(DistributionElement distributionElement, String referencedDistributionId) { | |||
this.distributionElement = distributionElement; | |||
this.reference = new Reference().distributionID(referencedDistributionId); | |||
this.reference = new Reference().distributionID(referencedDistributionId).infoDistributionID(null).refused(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comme échangé, enlever ces setters, créer les fonctions de chainage du builders ici et reprendre le build() pour controler != true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
public ReferenceWrapperBuilder infoDistributionID(String infoDistributionID) { | ||
this.reference.setInfoDistributionID(infoDistributionID); | ||
return this; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On aurait limite pu mettre refused = true dans ce cas là aussi par cohérence et ne pas mettre de builder sur refused vu que les 2 vont toujours ensemble
Ajout des champs
au schema RC-REF, et modification des classes associés (Reference et ReferenceWrapperBuilder)