Class HvlEventLogModel

java.lang.Object
tr.com.havelsan.javarch.log.common.model.HvlEventLogModel
All Implemented Interfaces:
Serializable

public class HvlEventLogModel extends Object implements Serializable
A data transfer object which is used to filter query.
See Also:
  • Field Details

    • APPLICATION_NAME_FIELD_NAME

      public static final String APPLICATION_NAME_FIELD_NAME
      The constant APPLICATION_NAME_FIELD_NAME.
      See Also:
    • USERNAME_FIELD_NAME

      public static final String USERNAME_FIELD_NAME
      The constant USERNAME_FIELD_NAME.
      See Also:
    • MESSAGE_FIELD_NAME

      public static final String MESSAGE_FIELD_NAME
      The constant MESSAGE_FIELD_NAME.
      See Also:
    • SOURCE_FIELD_NAME

      public static final String SOURCE_FIELD_NAME
      The constant SOURCE_FIELD_NAME.
      See Also:
    • ATTRIBUTE_MAP_FIELD_NAME

      public static final String ATTRIBUTE_MAP_FIELD_NAME
      The constant ATTRIBUTE_MAP_FIELD_NAME.
      See Also:
    • EVENT_TYPE_FIELD_NAME

      public static final String EVENT_TYPE_FIELD_NAME
      The constant EVENT_TYPE_FIELD_NAME.
      See Also:
    • EVENT_DATE_FIELD_NAME

      public static final String EVENT_DATE_FIELD_NAME
      The constant EVENT_DATE_FIELD_NAME.
      See Also:
  • Constructor Details

    • HvlEventLogModel

      public HvlEventLogModel()
      Instantiates a new HvlEventLogModel.
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, String source, @NotNull @NotNull String eventType)
      Instantiates a new HvlEventLogModel.
      Parameters:
      applicationName - the application name
      username - the username
      message - the message
      source - the source
      eventType - the event type
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, Map<String,Object> attributeMap, String source, @NotNull @NotNull String eventType)
      Instantiates a new HvlEventLogModel.
      Parameters:
      applicationName - the application name
      username - the username
      message - the message
      attributeMap - the attribute map
      source - the source
      eventType - the event type
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String indexName, @NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, String source, Map<String,Object> attributeMap, @NotNull @NotNull String eventType)
      Instantiates a new HvlEventLogModel.
      Parameters:
      indexName - the index name
      applicationName - the application name
      username - the username
      message - the message
      source - the source
      attributeMap - the attribute map
      eventType - the event type
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, String source, @NotNull @NotNull String eventType, @NotNull @NotNull OffsetDateTime eventDate)
      Instantiates a new HvlEventLogModel.
      Parameters:
      applicationName - the application name
      username - the username
      message - the message
      source - the source
      eventType - the event type
      eventDate - the event date
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, Map<String,Object> attributeMap, String source, @NotNull @NotNull String eventType, @NotNull @NotNull OffsetDateTime eventDate)
      Instantiates a new HvlEventLogModel.
      Parameters:
      applicationName - the application name
      username - the username
      message - the message
      attributeMap - the attribute map
      source - the source
      eventType - the event type
      eventDate - the event date
    • HvlEventLogModel

      public HvlEventLogModel(@NotNull @NotNull String indexName, @NotNull @NotNull String applicationName, @NotNull @NotNull String username, @NotNull @NotNull String message, String source, Map<String,Object> attributeMap, @NotNull @NotNull String eventType, @NotNull @NotNull OffsetDateTime eventDate)
      Instantiates a new HvlEventLogModel.
      Parameters:
      indexName - the index name
      applicationName - the application name
      username - the username
      message - the message
      source - the source
      attributeMap - the attribute map
      eventType - the event type
      eventDate - the event date
  • Method Details

    • getIndexName

      public String getIndexName()
      Gets index name.
      Returns:
      the index name
    • setIndexName

      public void setIndexName(String indexName)
      Sets index name.
      Parameters:
      indexName - the index name
    • getApplicationName

      public String getApplicationName()
      Gets application name.
      Returns:
      the application name
    • setApplicationName

      public void setApplicationName(String applicationName)
      Sets application name.
      Parameters:
      applicationName - the application name
    • getUsername

      public String getUsername()
      Gets username.
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets username.
      Parameters:
      username - the username
    • getMessage

      public String getMessage()
      Gets message.
      Returns:
      the message
    • setMessage

      public void setMessage(String message)
      Sets message.
      Parameters:
      message - the message
    • getSource

      public String getSource()
      Gets source.
      Returns:
      the source
    • setSource

      public void setSource(String source)
      Sets source.
      Parameters:
      source - the source
    • getAttributeMap

      public Map<String,Object> getAttributeMap()
      Gets attribute map.
      Returns:
      the attribute map
    • setAttributeMap

      public void setAttributeMap(Map<String,Object> attributeMap)
      Sets attribute map.
      Parameters:
      attributeMap - the attribute map
    • getEventType

      public String getEventType()
      Gets event type.
      Returns:
      the event type
    • setEventType

      public void setEventType(String eventType)
      Sets event type.
      Parameters:
      eventType - the event type
    • getEventDate

      public OffsetDateTime getEventDate()
      Gets event date.
      Returns:
      the event date
    • setEventDate

      public void setEventDate(OffsetDateTime eventDate)
      Sets event date.
      Parameters:
      eventDate - the event date
    • toString

      public String toString()
      Overrides:
      toString in class Object