public Message setFlag ( Flag ... flags ) { if ( flags != null ) { short tmp = this . flags ; for ( Flag flag : flags ) { if ( flag != null ) tmp |= flag . value ( ) ; } this . flags = tmp ; } return this ; }
Sets a number of flags in a message