public void addToSms ( final Sms sms ) { if ( null == getSms ( ) ) { setSms ( new java . util . TreeSet < Sms > ( ) ) ; } getSms ( ) . add ( sms ) ; }
Add the sms to the collection of sms associated to the account .