Class DefaultScriptArchUtils

    • Constructor Detail

      • DefaultScriptArchUtils

        public DefaultScriptArchUtils​(@NotNull
                                      @NotNull java.lang.Iterable<Pair<java.lang.Integer,​java.lang.String>> eventTypes,
                                      @NotNull
                                      @NotNull java.lang.String subtypeAttribute,
                                      int eventTypeNo)
        Creates a new instance.
        Parameters:
        eventTypes - the event types
        subtypeAttribute - the attribute name for the subtype field
        eventTypeNo - the object type for event objects
    • Method Detail

      • getArchetypeNameForEventType

        @NotNull
        public @NotNull java.lang.String getArchetypeNameForEventType​(int eventType)
        Description copied from interface: ScriptArchUtils
        Returns the archetype for an event type.
        Parameters:
        eventType - the event type
        Returns:
        the archetype name