Class Marker

    • Field Detail

      • EMPTY_FEATURE_ID

        public static final int EMPTY_FEATURE_ID
        The empty feature id constant.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Marker

        public Marker()
    • Method Detail

      • getCreatedAt

        public long getCreatedAt()
        Gets created at.
        Returns:
        the createdAt
      • getExtraInfo

        public Map<String,​String> getExtraInfo()
        Gets extra info.
        Returns:
        the extraInfo
      • getMessage

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

        public MarkerSeverity getSeverity()
        Gets severity.
        Returns:
        the severity
      • getSource

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

        public void setCreatedAt​(long createdAt)
        Sets created at.
        Parameters:
        createdAt - the createdAt to set
      • setExtraInfo

        public void setExtraInfo​(Map<String,​String> extraInfo)
        Sets extra info.
        Parameters:
        extraInfo - the extraInfo to set
      • setMessage

        public void setMessage​(String message)
        Sets message.
        Parameters:
        message - the message to set
      • setSeverity

        public void setSeverity​(MarkerSeverity severity)
        Sets severity.
        Parameters:
        severity - the severity to set
      • setSource

        public void setSource​(String source)
        Sets source.
        Parameters:
        source - the source to set
      • getFeatureId

        public int getFeatureId()
        Gets the feature identifier.
        Returns:
        the feature identifier.
      • setFeatureId

        public void setFeatureId​(int featureId)
        Sets the feature identifier.
        Parameters:
        featureId - the feature identifier to set.
      • getMarkerId

        public abstract String getMarkerId()
        Gets marker id. Id should be unique for bm model
        Returns:
        marker id, never null