@ SuppressWarnings ( "unchecked" ) private void initTypesMapping ( ) { if ( mapping == null ) { throw new IllegalStateException ( "Mapping does contain any information in " + "DeployerTypesResolver " + this ) ; } if ( mapping . containsKey ( NODE_TYPES_MAPPING_SECTION ) ) { log . debug ( "Mapping contains NodeTypes mapping" ) ; nodeTypesMapping = ( Map < String , String > ) mapping . get ( NODE_TYPES_MAPPING_SECTION ) ; } if ( mapping . containsKey ( RELATIONSHIP_TYPES_MAPPING_SECTION ) ) { log . debug ( "Mapping contains NodeTypes mapping" ) ; relationshipTypesMapping = ( Map < String , String > ) mapping . get ( RELATIONSHIP_TYPES_MAPPING_SECTION ) ; } if ( mapping . containsKey ( NODE_TYPES_DEFINITIONS ) ) { log . debug ( "Mapping contains NodeTypes description" ) ; nodeTypesDefinitions = ( Map < String , Object > ) mapping . get ( NODE_TYPES_DEFINITIONS ) ; } if ( mapping . containsKey ( POLICY_TYPES_MAPPING_SECTION ) ) { log . debug ( "Mapping contains Policy mapping" ) ; policyTypesMapping = ( Map < String , String > ) mapping . get ( POLICY_TYPES_MAPPING_SECTION ) ; } }
Initialize the different types mapping .