Class AbsVariable

    • Constructor Detail

      • AbsVariable

        public AbsVariable()
        Construct an Abstract descriptor to hold a variable
      • AbsVariable

        public AbsVariable​(String name,
                           String valueType)
        Construct an AbsVariable with the given name and value type
        Parameters:
        name - The name of the variable.
        valueType - The type of values that can be assigned to this variable.
    • Method Detail

      • setName

        public void setName​(String name)
        Sets the name of this variable.
        Parameters:
        name - The new name of this variable.
      • setType

        public void setType​(String valueType)
        Sets the value type of this variable.
        Parameters:
        valueType - The type of values that can be assigned to this variable.
      • getName

        public String getName()
        Gets the name of this variable.
        Returns:
        The name of this variable.
      • getType

        public String getType()
        Gets the value type of this variable.
        Returns:
        The type of values that can be assigned to this variable.
      • getJavaClass

        public static Class getJavaClass()
      • isMetaTerm

        public final boolean isMetaTerm()
        Return true if this object represents a meta term (i.e. symbol ??x) rather than a concrete variable. This method is currently used only by the semantics framework.
        Returns:
        true if this object represents a meta term
        Since:
        JADE3.4
      • setIsMetaTerm

        public final void setIsMetaTerm​(boolean isMeta)
        Sets the value of isMetaTerm, where the default is false. This method is currently used only by the semantics framework.
        Since:
        JADE3.4