@Override public List<QualifiedParamList> encode(FhirContext theContext, Object theObject) throws InternalErrorException { ArrayList<QualifiedParamList> retVal = new ArrayList<QualifiedParamList>(); // TODO: declaring method should probably have a generic type.. @SuppressWarnings("rawtypes") IParamBinder paramBinder = myParamBinder; @SuppressWarnings("unchecked") List<IQueryParameterOr<?>> val = paramBinder.encode(theContext, theObject); for (IQueryParameterOr<?> nextOr : val) { retVal.add(new QualifiedParamList(nextOr, theContext)); } return retVal; }
@Override public Object parse(FhirContext theContext, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException { return myParamBinder.parse(theContext, getName(), theString); }
@Override public List<QualifiedParamList> encode(FhirContext theContext, Object theObject) throws InternalErrorException { ArrayList<QualifiedParamList> retVal = new ArrayList<>(); // TODO: declaring method should probably have a generic type.. @SuppressWarnings("rawtypes") IParamBinder paramBinder = myParamBinder; @SuppressWarnings("unchecked") List<IQueryParameterOr<?>> val = paramBinder.encode(theContext, theObject); for (IQueryParameterOr<?> nextOr : val) { retVal.add(new QualifiedParamList(nextOr, theContext)); } return retVal; }
@Override public Object parse(FhirContext theContext, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException { return myParamBinder.parse(theContext, getName(), theString); }
@Override public List<QualifiedParamList> encode(FhirContext theContext, Object theObject) throws InternalErrorException { ArrayList<QualifiedParamList> retVal = new ArrayList<>(); // TODO: declaring method should probably have a generic type.. @SuppressWarnings("rawtypes") IParamBinder paramBinder = myParamBinder; @SuppressWarnings("unchecked") List<IQueryParameterOr<?>> val = paramBinder.encode(theContext, theObject); for (IQueryParameterOr<?> nextOr : val) { retVal.add(new QualifiedParamList(nextOr, theContext)); } return retVal; }
@Override public Object parse(FhirContext theContext, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException { return myParamBinder.parse(theContext, getName(), theString); }
@Override public List<QualifiedParamList> encode(FhirContext theContext, Object theObject) throws InternalErrorException { ArrayList<QualifiedParamList> retVal = new ArrayList<QualifiedParamList>(); // TODO: declaring method should probably have a generic type.. @SuppressWarnings("rawtypes") IParamBinder paramBinder = myParamBinder; @SuppressWarnings("unchecked") List<IQueryParameterOr<?>> val = paramBinder.encode(theContext, theObject); for (IQueryParameterOr<?> nextOr : val) { retVal.add(new QualifiedParamList(nextOr, theContext)); } return retVal; }
@Override public Object parse(FhirContext theContext, List<QualifiedParamList> theString) throws InternalErrorException, InvalidRequestException { return myParamBinder.parse(theContext, getName(), theString); }