public static Object fromInteger(Class<?> theType, IntegerDt theArgument) { if (theArgument == null) { return null; } if (theType.equals(Integer.class)) { return theArgument.getValue(); } IPrimitiveType<?> retVal = (IPrimitiveType<?>) ReflectionUtil.newInstance(theType); retVal.setValueAsString(theArgument.getValueAsString()); return retVal; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public Integer getMin() { return getMinElement().getValue(); }
/** * Gets the value(s) for <b>maxLength</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element * </p> */ public Integer getMaxLength() { return getMaxLengthElement().getValue(); }
public static Object fromInteger(Class<?> theType, IntegerDt theArgument) { if (theArgument == null) { return null; } if (theType.equals(Integer.class)) { return theArgument.getValue(); } IPrimitiveType<?> retVal = (IPrimitiveType<?>) ReflectionUtil.newInstance(theType); retVal.setValueAsString(theArgument.getValueAsString()); return retVal; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public Integer getMin() { return getMinElement().getValue(); }
/** * Gets the value(s) for <b>frequency</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided) * </p> */ public Integer getFrequency() { return getFrequencyElement().getValue(); }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public Integer getMin() { return getMinElement().getValue(); }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public Integer getMin() { return getMinElement().getValue(); }
/** * Gets the value(s) for <b>maxLength</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element * </p> */ public Integer getMaxLength() { return getMaxLengthElement().getValue(); }
/** * Gets the value(s) for <b>count</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * A total count of the desired number of repetitions * </p> */ public Integer getCount() { return getCountElement().getValue(); }
/** * Gets the value(s) for <b>frequencyMax</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * * </p> */ public Integer getFrequencyMax() { return getFrequencyMaxElement().getValue(); }
/** * Gets the value(s) for <b>total</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter * </p> */ public Integer getTotal() { return getTotalElement().getValue(); }
/** * Gets the value(s) for <b>offset</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present * </p> */ public Integer getOffset() { return getOffsetElement().getValue(); }
} else if (nextObject instanceof IntegerDt) { IntegerDt nextValue = (IntegerDt) nextObject; if (nextValue.getValue() == null) { continue; ResourceIndexedSearchParamNumber nextEntity = new ResourceIndexedSearchParamNumber(resourceName, new BigDecimal(nextValue.getValue())); nextEntity.setResource(theEntity); retVal.add(nextEntity);
/** * Gets the value(s) for <b>destination</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Which server these requirements apply to. * </p> */ public Integer getDestination() { return getDestinationElement().getValue(); }
/** * Gets the value(s) for <b>count</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * A total count of the desired number of repetitions * </p> */ public Integer getCount() { return getCountElement().getValue(); }
/** * Gets the value(s) for <b>frequencyMax</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * * </p> */ public Integer getFrequencyMax() { return getFrequencyMaxElement().getValue(); }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public Integer getMin() { return getMinElement().getValue(); }
/** * Gets the value(s) for <b>maxLength</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element * </p> */ public Integer getMaxLength() { return getMaxLengthElement().getValue(); }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public Integer getMin() { return getMinElement().getValue(); }