Package jade.content

Class OntoAID

    • Constructor Detail

      • OntoAID

        public OntoAID()
        Constructs an ontological Agent-Identifier whose slot name is set to an empty string
        See Also:
        AID()
      • OntoAID

        public OntoAID​(String name,
                       boolean isGUID)
        Constructor for an ontological Agent-identifier
        Parameters:
        name - is the value for the slot name for the agent.
        isGUID - indicates if the passed name is already a globally unique identifier or not. Two constants ISGUID, ISLOCALNAME have also been defined for setting a value for this parameter. If the name is a local name, then the HAP (Home Agent Platform) is concatenated to the name, separated by "@".
        See Also:
        AID(String, boolean)
    • Method Detail

      • wrap

        public static OntoAID wrap​(AID id)
        Create an ontological Agent identifier that wraps an existing AID.
        Parameters:
        id - the AIDto be wrapped. If id is already an ontological agent identifier no new object is created and id is returned with the resolvers (if any) properly wrapped.
      • addResolvers

        public void addResolvers​(AID aid)
        This method is redefined so that resolvers AID are automatically wrapped into OntoAIDs
        Overrides:
        addResolvers in class AID