com.acsinet_solutions.cetia4.controller.map
Class IntKeyDTO_SetMapping

java.lang.Object
  extended by com.acsinet_solutions.cetia4.controller.map.AbstractMapping
      extended by com.acsinet_solutions.cetia4.controller.map.IntKeyDTO_SetMapping
All Implemented Interfaces:
Mapping

public class IntKeyDTO_SetMapping
extends AbstractMapping

Performs the mapping from a set of form fields to a set property that holds a collection of DTOs with a single int key

Derechos Reservados

Author:
Santiago Arriaga

Constructor Summary
IntKeyDTO_SetMapping(java.lang.Class beanClass, java.lang.String fieldName, java.lang.String propertyName)
          Create a required set mapping
 
Method Summary
 ValidationIssue performMapping(ParameterAccessor request, java.lang.Object bean)
          Iterates the input parameters, and sets the collection of DTO objects.
 
Methods inherited from class com.acsinet_solutions.cetia4.controller.map.AbstractMapping
getFieldName, getPropertyName, getReadableName, isNullsAllowed, isRequired, performBigDecimalMapping, performBooleanMapping, performCalendarMapping, performDateMapping, performDoubleMapping, performFloatMapping, performIntMapping, performLongMapping, performStringMapping, setInvalidDateMessageKey, setInvalidIntMessageKey, setInvalidNumericMessageKey, setNullMessageKey, setNullsAllowed, setProperty, setReadableName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntKeyDTO_SetMapping

public IntKeyDTO_SetMapping(java.lang.Class beanClass,
                            java.lang.String fieldName,
                            java.lang.String propertyName)
Create a required set mapping

Method Detail

performMapping

public ValidationIssue performMapping(ParameterAccessor request,
                                      java.lang.Object bean)
Iterates the input parameters, and sets the collection of DTO objects.

Parameters:
request - A not-null HttpServletRequest object
bean - A not-null Object instance
Returns:
A not-null String object if validation issues were raised; null if the mapping performed correctly