<p>
Specifies the category for the event.
</p>

@param eventCategories
Specifies the category for the event.
180850
public void setEventCategories(java.util.Collection<String> eventCategories) {
        if (eventCategories == null) {
            this.eventCategories = null;
            return;
        }

        this.eventCategories = new com.amazonaws.internal.SdkInternalList<String>(eventCategories);
    }
786767
public void setCategories(int i, String v) { 
    if (GOMention_Type.featOkTst && ((GOMention_Type)jcasType).casFeat_categories == null)
      jcasType.jcas.throwFeatMissing("categories", "de.julielab.jules.types.GOMention");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((GOMention_Type)jcasType).casFeatCode_categories), i);
    jcasType.ll_cas.ll_setStringArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((GOMention_Type)jcasType).casFeatCode_categories), i, v);}
690638
private EventComponentChangeDto setChangeCategory(String changeCategory) {
    this.category = ChangeCategory.fromDbValue(changeCategory)
      .orElseThrow(() -> new IllegalArgumentException("Unsupported changeCategory DB value: " + changeCategory));
    return this;
  }
477526
public void setEventSubscriptions(java.util.Collection<EventSubscription> eventSubscriptions) {
        if (eventSubscriptions == null) {
            this.eventSubscriptions = null;
            return;
        }

        this.eventSubscriptions = new java.util.ArrayList<EventSubscription>(eventSubscriptions);
    }
244466
private void setEventType(short eventType) {
      if (eventType != ADDED && eventType != REMOVED && eventType != CHANGED) {
         throw new IllegalArgumentException("Invalid eventType code "
            + eventType);
      }

      this.eventType = eventType;
   }
1233463
public void setCategories(List<CmsCategory> categories) {

        for (int i = 0; i < categories.size(); i++) {
            CmsCategory cat = categories.get(i);
            m_container.addItem(cat);
            m_checkboxes.put(cat, new CheckBox());
            String parentPath = CmsResource.getParentFolder(cat.getPath());
            if (parentPath.length() > 1) {
                for (int j = i - 1; j >= 0; j--) {
                    if (categories.get(j).getPath().equals(parentPath)) {
                        m_container.setParent(cat, categories.get(j));
                        break;
                    }
                }
            }
        }
        // hide openers
        for (CmsCategory cat : categories) {
            if ((m_container.getChildren(cat) == null) || (m_container.getChildren(cat).size() == 0)) {
                m_container.setChildrenAllowed(cat, false);
            }
        }
    }
1284521
public void setSupportedEvents(Collection<Class<? extends ApplicationEvent>> supportedEvents) {
        this.supportedEventsCache.clear();
        if (supportedEvents == null) {
            this.supportedEvents = Collections.emptySet();
        } else {
            this.supportedEvents =
                    new LinkedHashSet<Class<? extends ApplicationEvent>>(supportedEvents);
        }
    }
910202
public java.util.List<String> getEventCategories() {
        if (eventCategories == null) {
            eventCategories = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return eventCategories;
    }
1199610
public void setCategory(String v) {
    if (GoldenGrammarError_Type.featOkTst
        && ((GoldenGrammarError_Type) jcasType).casFeat_category == null)
      jcasType.jcas.throwFeatMissing("category",
          "cogroo.uima.GoldenGrammarError");
    jcasType.ll_cas.ll_setStringValue(addr,
        ((GoldenGrammarError_Type) jcasType).casFeatCode_category, v);
  }
423550
@Override
    public void setCategories(final List<SyndCategory> categories) {
        getDCModule().setSubjects(SyndCategoryListFacade.convertElementsSyndCategoryToSubject(categories));
    }
1245458
public void setSelectedCategories(Collection<CmsCategory> categories) {

        for (Entry<CmsCategory, CheckBox> entry : m_checkboxes.entrySet()) {
            entry.getValue().setValue(Boolean.valueOf(categories.contains(entry.getKey())));
            CmsCategory parentCat = (CmsCategory)getParent(entry.getKey());
            if (parentCat != null) {
                setCollapsed(parentCat, false);
            }
        }
    }
140945
func (s *RelationalDatabaseEvent) SetEventCategories(v []*string) *RelationalDatabaseEvent {
	s.EventCategories = v
	return s
}
870751
private void initEventTypes(IoEventType... eventTypes) {
        if ((eventTypes == null) || (eventTypes.length == 0)) {
            eventTypes = DEFAULT_EVENT_SET;
        }

        // Copy the list of handled events in the event set
        this.eventTypes = EnumSet.of(eventTypes[0], eventTypes);
        
        // Check that we don't have the SESSION_CREATED event in the set
        if (this.eventTypes.contains( IoEventType.SESSION_CREATED )) {
            this.eventTypes = null;
            throw new IllegalArgumentException(IoEventType.SESSION_CREATED
                + " is not allowed.");
        }
    }
777034
func (s *ModifyEventSubscriptionInput) SetEventCategories(v []*string) *ModifyEventSubscriptionInput {
	s.EventCategories = v
	return s
}
1208854
public void setSections(final List<TimeSection> SECTIONS) {
        sections.setAll(SECTIONS);
        Collections.sort(sections, new TimeSectionComparator());
        fireUpdateEvent(SECTION_EVENT);
    }
516364
public void setCategories(FSArray v) {
    if (Descriptor_Type.featOkTst && ((Descriptor_Type)jcasType).casFeat_categories == null)
      jcasType.jcas.throwFeatMissing("categories", "de.julielab.jules.types.wikipedia.Descriptor");
    jcasType.ll_cas.ll_setRefValue(addr, ((Descriptor_Type)jcasType).casFeatCode_categories, jcasType.ll_cas.ll_getFSRef(v));}
1222553
func (s *CreateEventSubscriptionInput) SetEventCategories(v []*string) *CreateEventSubscriptionInput {
	s.EventCategories = v
	return s
}