Class JDOString

  • All Implemented Interfaces:
    JDOValueIF

    public class JDOString
    extends Object
    implements JDOValueIF
    INTERNAL: JDOQL value: string. Class used to represent java.lang.String instances. Syntax: '"hello"'.
    • Field Detail

      • value

        protected String value
    • Constructor Detail

      • JDOString

        public JDOString​(String value)
    • Method Detail

      • getType

        public int getType()
        Description copied from interface: JDOValueIF
        INTERNAL: Returns the type of JDO value indicated by one of the constants in the JDOValueIF interface.
        Specified by:
        getType in interface JDOValueIF
      • getValue

        public String getValue()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • visit

        public void visit​(JDOVisitorIF visitor)
        Description copied from interface: JDOValueIF
        INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.
        Specified by:
        visit in interface JDOValueIF