/** * Set the output body type for the given operation. * * @param operation * @param outputBodyType */ protected void setOutputBodyType(Operation operation, Use outputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setOutputBodyType(outputBodyType); if (outputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setOutputBodyType
/** * Set the input body type for the given operation. * * @param operation * @param inputBodyType */ protected void setInputBodyType(Operation operation, Use inputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setInputBodyType(inputBodyType); if (inputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setInputBodyType
/** * Set the input body type for the given operation. * * @param operation * @param inputBodyType */ protected void setInputBodyType(Operation operation, Use inputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setInputBodyType(inputBodyType); if (inputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setInputBodyType
/** * Set the output body type for the given operation. * * @param operation * @param outputBodyType */ protected void setOutputBodyType(Operation operation, Use outputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setOutputBodyType(outputBodyType); if (outputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setOutputBodyType
/** * Set the input body type for the given operation. * * @param operation * @param inputBodyType */ protected void setInputBodyType(Operation operation, Use inputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setInputBodyType(inputBodyType); if (inputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setInputBodyType
/** * Set the output body type for the given operation. * * @param operation * @param outputBodyType */ protected void setOutputBodyType(Operation operation, Use outputBodyType) { OperationAttr attr = (OperationAttr) attributes.get(operation); if (attr == null) { attr = new OperationAttr(); attributes.put(operation, attr); } attr.setOutputBodyType(outputBodyType); if (outputBodyType == Use.LITERAL) { setHasLiteral(true); } } // setOutputBodyType
bEntry.setHasLiteral(true);
bEntry.setHasLiteral(true);