Class AMSAgentDescription

    • Field Detail

      • INITIATED

        public static final String INITIATED
        String constant for the initiated agent life-cycle state.
        See Also:
        Constant Field Values
      • SUSPENDED

        public static final String SUSPENDED
        String constant for the suspended agent life-cycle state.
        See Also:
        Constant Field Values
      • LATENT

        public static final String LATENT
        String constant for the latent agent life-cycle state. JADE specific state indicating an agent waiting to be restored after a crash of the main container
        See Also:
        Constant Field Values
    • Constructor Detail

      • AMSAgentDescription

        public AMSAgentDescription()
        Default constructor.
    • Method Detail

      • setName

        public void setName​(AID n)
        Set the name slot of this object.
        Parameters:
        n - The agent identifier for the name.
      • setOwnership

        public void setOwnership​(String n)
        Set the ownership slot of this object.
        Parameters:
        n - The string for the ownership.
      • setState

        public void setState​(String n)
        Set the state slot of this object.
        Parameters:
        n - The string for the state.
      • getName

        public AID getName()
        Retrieve the name slot of this object.
        Returns:
        The value of the name slot, or null if no value was set.
      • getOwnership

        public String getOwnership()
        Retrieve the ownership slot of this object.
        Returns:
        The value of the ownership slot, or null if no value was set.
      • getState

        public String getState()
        Retrieve the state slot of this object.
        Returns:
        The value of the state slot, or null if no value was set.