|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.core.AID | +--jade.content.OntoAID
Fields inherited from class jade.core.AID |
ISGUID,
ISLOCALNAME |
Constructor Summary | |
OntoAID()
Constructs an ontological Agent-Identifier whose slot name is set to an empty string |
|
OntoAID(java.lang.String name,
boolean isGUID)
Constructor for an ontological Agent-identifier |
Method Summary | |
void |
addResolvers(AID aid)
This method is redefined so that resolvers AID are automatically wrapped into OntoAIDs |
static OntoAID |
wrap(AID id)
Create an ontological Agent identifier that wraps an existing AID . |
Methods inherited from class jade.core.AID |
addAddresses,
addUserDefinedSlot,
clearAllAddresses,
clearAllResolvers,
clone,
compareTo,
equals,
getAddressesArray,
getAllAddresses,
getAllResolvers,
getAllUserDefinedSlot,
getLocalName,
getName,
getResolversArray,
hashCode,
removeAddresses,
removeResolvers,
removeUserDefinedSlot,
setLocalName,
setName,
toString |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public OntoAID()
AID.AID()
public OntoAID(java.lang.String name, boolean isGUID)
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 "@".AID.AID(String, boolean)
Method Detail |
public static OntoAID wrap(AID id)
AID
.id
- the AID
to 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.public void addResolvers(AID aid)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |