/** * Gets the first repetition for <b>mode</b> (personal | professional | legal | official), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public BoundCodeDt<CompositionAttestationModeEnum> getModeFirstRep() { if (getMode().size() == 0) { addMode(); } return getMode().get(0); }
/** * Sets the value(s), and clears any existing value(s) for <b>mode</b> (personal | professional | legal | official) * * <p> * <b>Definition:</b> * The type of attestation the authenticator offers * </p> */ public Attester setMode(CompositionAttestationModeEnum theValue) { getMode().clear(); addMode(theValue); return this; }