|
__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
|
|
|
|
|
|
|
setOwnership(self,
owner)
sets the ownership |
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
|
|