/** * Create a new token "OR list" with a single token, or multiple tokens which have the same system value * * @param theSystem * The system to use for the one token to pre-populate in this list * @param theValues * The values to use for the one token to pre-populate in this list */ public TokenOrListParam(String theSystem, String... theValues) { for (String next : theValues) { add(theSystem, next); } }
/** * Convenience method which adds a token to this OR list using the system and code from a coding */ public void add(BaseCodingDt theCodingDt) { add(new TokenParam(theCodingDt)); }
/** * Add a new token to this list * @param theSystem * The system to use for the one token to pre-populate in this list */ public TokenOrListParam add(String theSystem, String theValue) { add(new TokenParam(theSystem, theValue)); return this; }
@CoverageIgnore @Override public TokenOrListParam addOr(TokenParam theParameter) { add(theParameter); return this; }
/** * Convenience method which adds a token to this OR list using the system and value from an identifier */ public void add(BaseIdentifierDt theIdentifierDt) { add(new TokenParam(theIdentifierDt)); }
/** * Create a new token "OR list" with a single token, or multiple tokens which have the same system value * * @param theSystem * The system to use for the one token to pre-populate in this list * @param theValues * The values to use for the one token to pre-populate in this list */ public TokenOrListParam(String theSystem, String... theValues) { for (String next : theValues) { add(theSystem, next); } }
/** * Convenience method which adds a token to this OR list using the system and code from a coding */ public void add(BaseCodingDt theCodingDt) { add(new TokenParam(theCodingDt)); }
/** * Convenience method which adds a token to this OR list using the system and value from an identifier */ public void add(BaseIdentifierDt theIdentifierDt) { add(new TokenParam(theIdentifierDt)); }
/** * Add a new token to this list * @param theSystem * The system to use for the one token to pre-populate in this list */ public TokenOrListParam add(String theSystem, String theValue) { add(new TokenParam(theSystem, theValue)); return this; }
@CoverageIgnore @Override public TokenOrListParam addOr(TokenParam theParameter) { add(theParameter); return this; }