Package ca.uhn.fhir.model.primitive

Examples of ca.uhn.fhir.model.primitive.IntegerDt


     * <b>Definition:</b>
     * The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once
     * </p>
   */
  public SampledDataDt setDimensions( int theInteger) {
    myDimensions = new IntegerDt(theInteger);
    return this;
  }
View Full Code Here


  private Class<?> myType;

  @Override
  public void translateClientArgumentIntoQueryArgument(FhirContext theContext, Object theSourceClientArgument, Map<String, List<String>> theTargetQueryArguments, BaseHttpClientInvocation theClientInvocation) throws InternalErrorException {
    if (theSourceClientArgument != null) {
      IntegerDt since = ParameterUtil.toInteger(theSourceClientArgument);
      if (since.isEmpty() == false) {
        theTargetQueryArguments.put(Constants.PARAM_COUNT, Collections.singletonList(since.getValueAsString()));
      }
    }
  }
View Full Code Here

    String[] sinceParams = theRequest.getParameters().remove(Constants.PARAM_COUNT);
    if (sinceParams != null) {
      if (sinceParams.length > 0) {
        if (StringUtils.isNotBlank(sinceParams[0])) {
          try {
            IntegerDt since = new IntegerDt(sinceParams[0]);
            return ParameterUtil.fromInteger(myType, since);
          } catch (DataFormatException e) {
            throw new InvalidRequestException("Invalid " + Constants.PARAM_COUNT + " value: " + sinceParams[0]);
          }
        }
View Full Code Here

     * The service instance number for the original transaction
     * </p>
   */
  public IntegerDt getInstance() { 
    if (myInstance == null) {
      myInstance = new IntegerDt();
    }
    return myInstance;
  }
View Full Code Here

     * <b>Definition:</b>
     * The service instance number for the original transaction
     * </p>
   */
  public Service setInstance( int theInteger) {
    myInstance = new IntegerDt(theInteger);
    return this;
  }
View Full Code Here

     * Zero-based index that tells the variant being discussed
     * </p>
   */
  public IntegerDt getIndex() { 
    if (myIndex == null) {
      myIndex = new IntegerDt();
    }
    return myIndex;
  }
View Full Code Here

     * <b>Definition:</b>
     * Zero-based index that tells the variant being discussed
     * </p>
   */
  public VariantEffect setIndex( int theInteger) {
    myIndex = new IntegerDt(theInteger);
    return this;
  }
View Full Code Here

     * Start of the start range
     * </p>
   */
  public IntegerDt getStart() { 
    if (myStart == null) {
      myStart = new IntegerDt();
    }
    return myStart;
  }
View Full Code Here

     * <b>Definition:</b>
     * Start of the start range
     * </p>
   */
  public StartRange setStart( int theInteger) {
    myStart = new IntegerDt(theInteger);
    return this;
  }
View Full Code Here

     * End of the start range
     * </p>
   */
  public IntegerDt getEnd() { 
    if (myEnd == null) {
      myEnd = new IntegerDt();
    }
    return myEnd;
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.model.primitive.IntegerDt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.