public < H , R > T createKey ( final H hashKey , final R rangeKey ) { final T key = StandardBeanProperties . DeclaringReflect . < T > newInstance ( targetType ) ; if ( hashKey != null ) { final DynamoDBMapperFieldModel < T , H > hk = hashKey ( ) ; hk . set ( key , hashKey ) ; } if ( rangeKey != null ) { final DynamoDBMapperFieldModel < T , R > rk = rangeKey ( ) ; rk . set ( key , rangeKey ) ; } return key ; }
Creates a new object instance with the keys populated .