Class DataCollectionNodeExpressionsToken

java.lang.Object
overit.geocallapp.wfm.mobileforms.bl.node.expressions.DataCollectionNodeExpressionsToken

public class DataCollectionNodeExpressionsToken extends Object
The Class that defines the data collection node expressions token.
Since:
12.0
  • Field Details

  • Constructor Details

    • DataCollectionNodeExpressionsToken

      protected DataCollectionNodeExpressionsToken(String keywordName, String otherCharacters)
      Instantiates a new data collection node expressions token.
      Parameters:
      keywordName - the keyword name
      otherCharacters - the other characters
  • Method Details

    • makeFromExpression

      public static DataCollectionNodeExpressionsToken makeFromExpression(String keywordName, String otherCharacters)
      Makes a new data collection node expression token from expression.
      Parameters:
      keywordName - the keyword name
      otherCharacters - the other characters
      Returns:
      the data collection node expressions token
    • makeFromGrammar

      public static DataCollectionNodeExpressionsToken makeFromGrammar(String keywordName, String attribute)
      Makes a new data collection node expression token from grammar.
      Parameters:
      keywordName - the keyword name
      attribute - the attribute
      Returns:
      the data collection node expressions token
    • getKeywordName

      public String getKeywordName()
      Returns the keyword name.
      Returns:
      the keyword name
    • setKeywordName

      public void setKeywordName(String keywordName)
      Sets the keyword name.
      Parameters:
      keywordName - the keyword name
    • getOtherCharacters

      public String getOtherCharacters()
      Returns the other characters.
      Returns:
      the other characters
    • setOtherCharacters

      public void setOtherCharacters(String otherCharacters)
      Sets the other characters.
      Parameters:
      otherCharacters - the other characters
    • hashCode

      public int hashCode()
      Returns the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the int
    • equals

      public boolean equals(Object obj)
      Compares the object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the obj
      Returns:
      true, if successful
    • toString

      public String toString()
      Returns as string.
      Overrides:
      toString in class Object
      Returns:
      the string