public void setMulti ( String attribute , String [ ] values ) { NameOpValue nv = getRelation ( attribute ) ; nv . clear ( ) ; List list = new LinkedList ( ) ; for ( int i = 0 ; i < values . length ; i ++ ) { list . add ( new Value ( values [ i ] ) ) ; } nv . add ( list ) ; }
Sets the attribute value to the given list of values . The list of values is added as a single value .