public void setValue ( Map < String , Token [ ] > tokensMap ) { if ( type == null ) { type = ItemType . MAP ; } if ( ! isMappableType ( ) ) { throw new IllegalArgumentException ( "The type of this item must be 'map' or 'properties'" ) ; } this . tokensMap = tokensMap ; }
Sets a value to this Map type item .