Class JSONEntity


  • public class JSONEntity
    extends Object
    Exported Model - Extracted Entity from utterance.
    • Constructor Detail

      • JSONEntity

        public JSONEntity()
    • Method Detail

      • startPos

        public int startPos()
        Get the startPos value.
        Returns:
        the startPos value
      • withStartPos

        public JSONEntity withStartPos​(int startPos)
        Set the startPos value.
        Parameters:
        startPos - the startPos value to set
        Returns:
        the JSONEntity object itself.
      • endPos

        public int endPos()
        Get the endPos value.
        Returns:
        the endPos value
      • withEndPos

        public JSONEntity withEndPos​(int endPos)
        Set the endPos value.
        Parameters:
        endPos - the endPos value to set
        Returns:
        the JSONEntity object itself.
      • entity

        public String entity()
        Get the entity value.
        Returns:
        the entity value
      • withEntity

        public JSONEntity withEntity​(String entity)
        Set the entity value.
        Parameters:
        entity - the entity value to set
        Returns:
        the JSONEntity object itself.
      • role

        public String role()
        Get the role value.
        Returns:
        the role value
      • withRole

        public JSONEntity withRole​(String role)
        Set the role value.
        Parameters:
        role - the role value to set
        Returns:
        the JSONEntity object itself.
      • children

        public List<JSONEntity> children()
        Get the children value.
        Returns:
        the children value
      • withChildren

        public JSONEntity withChildren​(List<JSONEntity> children)
        Set the children value.
        Parameters:
        children - the children value to set
        Returns:
        the JSONEntity object itself.