Package spade :: Module AMS :: Class AmsAgentDescription
[hide private]
[frames] | no frames]

Class AmsAgentDescription

source code

Agent Descriptor for AMS registering

Instance Methods [hide private]
 
__init__(self, content=None, co=None)
AAD constructor Optionally accepts a string containing a SL definition of the AAD or a ContentObject version of the AAD
source code
 
setAID(self, a)
sets the AID class
source code
 
getAID(self)
returns the AID class
source code
 
setOwnership(self, owner)
sets the ownership
source code
 
getOwnership(self)
returns the ownership
source code
 
setState(self, state)
sets state
source code
 
getState(self)
returns the state of the agent
source code
 
match(self, y)
returns True if y is part of the AAD
source code
 
__eq__(self, y)
equal operator (==) returns False if the AADs are different else returns True
source code
 
__ne__(self, y)
non equal operator (!=) returns True if the AADs are different else returns False
source code
 
loadSL0(self, content)
inits the AAD with a SL string representation
source code
 
asContentObject(self)
returns a version of the AAD in ContentObject format
source code
 
asRDFXML(self)
returns a printable version of the AAD in RDF/XML format
source code
 
__str__(self)
returns a printable version of the AAD in SL format
source code