public Map<String,String> getMappings(){
		
		HashMap<String, String> mappings      = new HashMap<String, String> ();
		HashMap<String, Boolean> destInstance = new HashMap<String, Boolean>();
		
		String s = "V";
		
		destInstance.put("null", true  );
		destInstance.put("v"   , false );
		
		HashMap<String, NullPointerControl> nullPointer = new HashMap<String, NullPointerControl>();
		
		nullPointer.put("Not", NOT_ANY     );
		nullPointer.put("All", ALL         );
		nullPointer.put("Des", DESTINATION );
		nullPointer.put("Sou", SOURCE      );
		
		HashMap<String, MappingType> mapping = new HashMap<String, MappingType>();		
		
		mapping.put("All"   , ALL_FIELDS         );
		mapping.put("Valued", ONLY_VALUED_FIELDS );
		mapping.put("Null"  , ONLY_NULL_FIELDS   );
		
		java.lang.reflect.Method[] methods = IMapper.class.getDeclaredMethods();
		
		for (Entry<String, Boolean> d : destInstance.entrySet()) 
			for (Entry<String, NullPointerControl> npc : nullPointer.entrySet()) 
				for (Entry<String, MappingType> mtd : mapping.entrySet()) 
					for (Entry<String, MappingType> mts : mapping.entrySet()) {
						String methodName = d.getKey()+s+npc.getKey()+mtd.getKey()+mts.getKey();
						for (java.lang.reflect.Method method : methods) 
							if(method.getName().equals(methodName))
								mappings.put(methodName, wrappedMapping(d.getValue(),npc.getValue(),mtd.getValue(),mts.getValue()));}
		
		mappings.put("get", "return null;"+newLine);
		return mappings;
	}
public Map < String , String > getMappings ( ) { HashMap < String , String > mappings = new HashMap < String , String > ( ) ; HashMap < String , Boolean > destInstance = new HashMap < String , Boolean > ( ) ; String s = "V" ; destInstance . put ( "null" , true ) ; destInstance . put ( "v" , false ) ; HashMap < String , NullPointerControl > nullPointer = new HashMap < String , NullPointerControl > ( ) ; nullPointer . put ( "Not" , NOT_ANY ) ; nullPointer . put ( "All" , ALL ) ; nullPointer . put ( "Des" , DESTINATION ) ; nullPointer . put ( "Sou" , SOURCE ) ; HashMap < String , MappingType > mapping = new HashMap < String , MappingType > ( ) ; mapping . put ( "All" , ALL_FIELDS ) ; mapping . put ( "Valued" , ONLY_VALUED_FIELDS ) ; mapping . put ( "Null" , ONLY_NULL_FIELDS ) ; java . lang . reflect . Method [ ] methods = IMapper . class . getDeclaredMethods ( ) ; for ( Entry < String , Boolean > d : destInstance . entrySet ( ) ) for ( Entry < String , NullPointerControl > npc : nullPointer . entrySet ( ) ) for ( Entry < String , MappingType > mtd : mapping . entrySet ( ) ) for ( Entry < String , MappingType > mts : mapping . entrySet ( ) ) { String methodName = d . getKey ( ) + s + npc . getKey ( ) + mtd . getKey ( ) + mts . getKey ( ) ; for ( java . lang . reflect . Method method : methods ) if ( method . getName ( ) . equals ( methodName ) ) mappings . put ( methodName , wrappedMapping ( d . getValue ( ) , npc . getValue ( ) , mtd . getValue ( ) , mts . getValue ( ) ) ) ; } mappings . put ( "get" , "return null;" + newLine ) ; return mappings ; }
Returns a Map where the keys are the mappings names and relative values are the mappings.
@return a Map with all mapping combinations