@Test() public void basicConstructorWithUnknownEffectIgnoresEffect() { Medication m = new Medication(null, null, null, null, null, "invalid", null); Assert.assertNull(m.getEffect()); }
public MedicationEffect getEffect() { return this.effect; }
Medication { public MedicationEffect getEffect() { return this.effect; } }
Medication { public MedicationEffect getEffect() { return this.effect; } Medication(final String name,
        final String genericName,
        final String dose,
        final String frequency,
        final Period duration,
        final String effect,
        final String notes);  Medication(JSONObject json); }
Medication { public MedicationEffect getEffect() { return this.effect; } Medication(final String name,
        final String genericName,
        final String dose,
        final String frequency,
        final Period duration,
        final String effect,
        final String notes);  Medication(JSONObject json); JSONObject toJSON(); String getName(); String getGenericName(); String getDose(); String getFrequency(); Period getDuration(); MedicationEffect getEffect(); String getNotes(); }
Medication { public MedicationEffect getEffect() { return this.effect; } Medication(final String name,
        final String genericName,
        final String dose,
        final String frequency,
        final Period duration,
        final String effect,
        final String notes);  Medication(JSONObject json); JSONObject toJSON(); String getName(); String getGenericName(); String getDose(); String getFrequency(); Period getDuration(); MedicationEffect getEffect(); String getNotes(); static final EntityReference CLASS_REFERENCE; static final String NAME; static final String GENERIC_NAME; static final String DOSE; static final String FREQUENCY; static final String DURATION; static final String EFFECT; static final String NOTES; }