Home | Trees | Index | Help |
|
---|
Package g4ds :: Module servicerepository :: Class Service |
|
Method Summary | |
---|---|
Initialises the member instance. | |
Some basic information about the object | |
Mirrors the subscription of a communtiy to a service | |
Mirrors the subscription of a communtiy to a service | |
Mirrors the subscription of a member to a service | |
GETTER | |
GETTER | |
String
|
GETTER |
String
|
GETTER |
String
|
GETTER |
String
|
GETTER |
GETTER | |
String
|
GETTER |
Boolean
|
Checks, whether the service has a authority with the given member id. |
Boolean
|
Checks, whether the service has a community with the given id subscribed to it. |
Boolean
|
Checks, whether the service has a member with the given id subscribed to it. |
Instance Variable Summary | |
---|---|
List of String |
_authorities : List of ids of members which are authorities to this service |
List of String |
_communities : List of ids of subscribed communities |
String |
_id : Inique ID for the Service |
String |
_ksdl : knowledge service description in XML |
String |
_ksdldate : Date for the version of the XML knowledge service description |
String |
_ksdlversion : Version for the XML knowledge service description |
List of String |
_members : List of ids of subscribed members |
String |
_name : Name for the Service |
Method Details |
---|
__init__(self,
id=None,
name='',
ksdl='',
ksdlversion='',
ksdldate=None)
|
__str__(self)
Some basic information about the object
|
addAuthority(self, memberid, init=0)Mirrors the subscription of a communtiy to a service |
addCommunity(self, communityid, init=0)Mirrors the subscription of a communtiy to a service |
addMember(self, memberid, init=0)Mirrors the subscription of a member to a service |
getAuthorities(self)GETTER |
getCommunities(self)GETTER |
getId(self)GETTER
|
getKsdl(self)GETTER
|
getKsdlDate(self)GETTER
|
getKsdlVersion(self)GETTER
|
getMembers(self)GETTER |
getName(self)GETTER
|
hasAuthority(self, memberid)Checks, whether the service has a authority with the given member id.
|
hasCommunity(self, communityid)Checks, whether the service has a community with the given id subscribed to it.
|
hasMember(self, memberid)Checks, whether the service has a member with the given id subscribed to it.
|
Instance Variable Details |
---|
_authoritiesList of ids of members which are authorities to this service
|
_communitiesList of ids of subscribed communities
|
_idInique ID for the Service
|
_ksdlknowledge service description in XML
|
_ksdldateDate for the version of the XML knowledge service description
|
_ksdlversionVersion for the XML knowledge service description
|
_membersList of ids of subscribed members
|
_nameName for the Service
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 | http://epydoc.sf.net |