Class AbsAgentAction

    • Constructor Detail

      • AbsAgentAction

        public AbsAgentAction​(String typeName)
        Construct an Abstract descriptor to hold an agent action of the proper type, e.g. SELL, BUY....
        Parameters:
        typeName - The name of the type of the agent action held by this abstract descriptor.
    • Method Detail

      • set

        public void set​(String name,
                        AbsPredicate value)
        Set an attribute of the agent action held by this abstract descriptor.
        Parameters:
        name - The name of the attribute to be set.
        value - The new value of the attribute.
      • getJavaClass

        public static Class getJavaClass()
      • isAContentExpression

        public boolean isAContentExpression()
        Description copied from interface: AbsContentElement
        Return true if this Abstract Content Element represents a ContentExpression of the SL Grammar (see also FIPA-SL specifications).
        Specified by:
        isAContentExpression in interface AbsContentElement
        Returns:
        true if this Abstract Content Element represents a ContentExpression of the SL Grammar (see also FIPA-SL specifications), false otherwise
        See Also:
        AbsContent.isAContentExpression
      • setIsAContentExpression

        public void setIsAContentExpression​(boolean flag)
        Description copied from interface: AbsContentElement
        Set the isAContentExpression flag to the passed value. By default, if this method was not called, this value is intialized to false.
        Specified by:
        setIsAContentExpression in interface AbsContentElement
        Parameters:
        flag - true if this Abstract Content Element represents a ContentExpression of the SL Grammar (see also FIPA-SL specifications), false otherwise