public void addAssignedVirtualArrays(Set<String> virtualArrayURIs){
  if ((virtualArrayURIs != null) && (!virtualArrayURIs.isEmpty())) {
    HashSet<String> addVirtualArrays=new HashSet<String>();
    addVirtualArrays.addAll(virtualArrayURIs);
    if (_assignedVirtualArrays == null) {
      setAssignedVirtualArrays(new StringSet());
      _assignedVirtualArrays.addAll(addVirtualArrays);
    }
 else {
      _assignedVirtualArrays.addAll(addVirtualArrays);
    }
    updateVirtualArrayTags();
  }
}

public void addAssignedVirtualArrays ( Set < String > virtualArrayURIs ) { if ( ( virtualArrayURIs != null ) && ( ! virtualArrayURIs . isEmpty ( ) ) ) { HashSet < String > addVirtualArrays = new HashSet < String > ( ) ; addVirtualArrays . addAll ( virtualArrayURIs ) ; if ( _assignedVirtualArrays == null ) { setAssignedVirtualArrays ( new StringSet ( ) ) ; _assignedVirtualArrays . addAll ( addVirtualArrays ) ; } else { _assignedVirtualArrays . addAll ( addVirtualArrays ) ; } updateVirtualArrayTags ( ) ; } }
adds the passed virtual array uris to the set of virtual array uris assigned to the resources by the user .
