void function ( Comment arg0 ) { if ( arg0 . getAuthor ( ) != null ) { throw new IllegalArgumentException ( ) ; } _commentsPosted . add ( arg0 ) ; arg0 . setAuthor ( this ) ; }
adds a comment to this user the user is the author . this method ensures that the comment object stores a link back to this user . concode_field_sep Set<Comment> _commentsPosted concode_elem_sep String _lastname concode_elem_sep String _firstname concode_elem_sep Set<BlogEntry> _blogEntriesPosted concode_elem_sep String _username concode_field_sep String getFirstname concode_elem_sep Set<BlogEntry> getBlogEntries concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Set<Comment> getComments concode_elem_sep String toString concode_elem_sep String getLastname concode_elem_sep String getUsername concode_elem_sep void addBlogEntry