Class SessionEventModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SessionEndEventModel, SessionStartEventModel

public class SessionEventModel extends ItemModel
Generated model class for type SessionEvent first defined at extension ticketsystem.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • EVENTTIME

      public static final String EVENTTIME
      Generated constant - Attribute key of SessionEvent.eventTime attribute defined at extension ticketsystem.
      See Also:
    • AGENT

      public static final String AGENT
      Generated constant - Attribute key of SessionEvent.agent attribute defined at extension ticketsystem.
      See Also:
    • SESSIONID

      public static final String SESSIONID
      Generated constant - Attribute key of SessionEvent.sessionID attribute defined at extension ticketsystem.
      See Also:
    • BASESITE

      public static final String BASESITE
      Generated constant - Attribute key of SessionEvent.baseSite attribute defined at extension ticketsystem.
      See Also:
    • GROUPS

      public static final String GROUPS
      Generated constant - Attribute key of SessionEvent.groups attribute defined at extension ticketsystem.
      See Also:
  • Constructor Details

    • SessionEventModel

      public SessionEventModel()
      Generated constructor - Default constructor for generic creation.
    • SessionEventModel

      public SessionEventModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • SessionEventModel

      @Deprecated(since="4.1.1", forRemoval=true) public SessionEventModel(ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAgent

      @Accessor(qualifier="agent", type=GETTER) public EmployeeModel getAgent()
      Generated method - Getter of the SessionEvent.agent attribute defined at extension ticketsystem.
      Returns:
      the agent - Any employee.
    • getBaseSite

      @Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
      Generated method - Getter of the SessionEvent.baseSite attribute defined at extension ticketsystem.
      Returns:
      the baseSite - Site model where event was created.
    • getEventTime

      @Accessor(qualifier="eventTime", type=GETTER) public Date getEventTime()
      Generated method - Getter of the SessionEvent.eventTime attribute defined at extension ticketsystem.
      Returns:
      the eventTime - Event creation time.
    • getGroups

      @Accessor(qualifier="groups", type=GETTER) public List<PrincipalGroupModel> getGroups()
      Generated method - Getter of the SessionEvent.groups attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the groups
    • getSessionID

      @Accessor(qualifier="sessionID", type=GETTER) public String getSessionID()
      Generated method - Getter of the SessionEvent.sessionID attribute defined at extension ticketsystem.
      Returns:
      the sessionID - Unique identificator.
    • setAgent

      @Accessor(qualifier="agent", type=SETTER) public void setAgent(EmployeeModel value)
      Generated method - Setter of SessionEvent.agent attribute defined at extension ticketsystem.
      Parameters:
      value - the agent - Any employee.
    • setBaseSite

      @Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
      Generated method - Setter of SessionEvent.baseSite attribute defined at extension ticketsystem.
      Parameters:
      value - the baseSite - Site model where event was created.
    • setEventTime

      @Accessor(qualifier="eventTime", type=SETTER) public void setEventTime(Date value)
      Generated method - Setter of SessionEvent.eventTime attribute defined at extension ticketsystem.
      Parameters:
      value - the eventTime - Event creation time.
    • setGroups

      @Accessor(qualifier="groups", type=SETTER) public void setGroups(List<PrincipalGroupModel> value)
      Generated method - Setter of SessionEvent.groups attribute defined at extension ticketsystem.
      Parameters:
      value - the groups
    • setSessionID

      @Accessor(qualifier="sessionID", type=SETTER) public void setSessionID(String value)
      Generated method - Setter of SessionEvent.sessionID attribute defined at extension ticketsystem.
      Parameters:
      value - the sessionID - Unique identificator.