public final void change ( ) { final ApiAttribute chanAttr = new ApiAttribute ( "attribute" , "Changed" ) ; chanAttr . getAttributes ( ) . add ( new DateUtil ( ) . todayDateAttribute ( ) ) ; final ArrayList < ApiAttribute > chanList = new ArrayList <> ( ) ; chanList . add ( chanAttr ) ; this . changed . clear ( ) ; this . changed . addAll ( chanList ) ; }
Mark the person as changed today .