/** {@inheritDoc} */ public BL toXml(Bl input) { if (input == null) { return null; } BL x = new BL(); Boolean v = input.getValue(); if (v != null) { x.setValue(v); } else { x.setNullFlavor(NullFlavorTransformer.INSTANCE.toXml(input.getNullFlavor())); } return x; }
/** {@inheritDoc} */ public Bl toDto(BL input) { if (input == null) { return null; } Bl d = new Bl(); Boolean v = input.isValue(); if (v != null) { d.setValue(v); } else { NullFlavor nf = NullFlavorTransformer.INSTANCE.toDto(input.getNullFlavor()); d.setNullFlavor(nf); } return d; }