|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSDomain
Defines the operations to define and access information about a KAoS domain. The information includes the name of the domain begin described, the name of the parent domain and a collection containing the names of immediate children domains.
Method Summary | |
---|---|
void |
addChild(KAoSDomain childDomain)
Add the specified child KAoSDomain as a child of this KAoSDomain. |
void |
degisterAgent(KAoSActor agent)
Deregister agent represented by the given KAoSActor from this KAoSDomain. |
java.util.List |
getChildren()
Return a List of KAoSDomain, the immediate children of this KAoSDomain. |
java.lang.String |
getModality()
Obtain the authorization modality of the domain described by this description. |
java.lang.String |
getName()
Obtain the name of this KAoSDomain. |
KAoSDomain |
getParent()
Obtain the parent domain. |
java.lang.String |
getPriority()
Obtain the priority of the domain described by this description. |
void |
registerAgent(KAoSActor agent)
Register the specified KAoSActor in this domain. |
void |
removeChild(KAoSDomain childDomain)
Remove the specified childDomain from the collection of children of this KAoSDomain. |
void |
removeParent(KAoSDomain parent)
Remove the parent KAoSDomain. |
void |
setModality(java.lang.String modality)
Set the authorization modality of the domain described by this description. |
void |
setName(java.lang.String name)
Set the name of this KAoSDomain. |
void |
setParent(KAoSDomain parent)
Set the parent domain of this domain. |
void |
setPriority(java.lang.String priority)
Set the priority of the domain described by this description. |
Method Detail |
---|
java.util.List getChildren()
void addChild(KAoSDomain childDomain) throws HasParentException
childDomain
- KAoSDomain to be added to this KAoSDomain as a child.
HasParentException
- will be thrown if the childDomain has already a parent.void removeChild(KAoSDomain childDomain) throws NotRegisteredException
childDomain
- KAoSDomain to be removed from the collection of children of this domain.
NotRegisteredException
- will be thrown if this KAoSDomain does not have the specified childDomain as a child.void setName(java.lang.String name)
name
- The name of this KAoSDomain.java.lang.String getName()
void setParent(KAoSDomain parent) throws HasParentException
parent
- KAoSDomain, the parent of this domain.
HasParentException
- will be thrown, if this domain has already a parent.KAoSDomain getParent()
void removeParent(KAoSDomain parent) throws NotRegisteredException
parent
- KAoSDomain to be removed as the parent.
NotRegisteredException
- will be thrown if this KAoSDomain does not have the specified childDomain as the parent.java.lang.String getModality()
void setModality(java.lang.String modality)
modality
- The modality of the domain described by this description.java.lang.String getPriority()
void setPriority(java.lang.String priority)
priority
- The priority of the domain described by this description.void registerAgent(KAoSActor agent) throws DomainFailure, AlreadyRegisteredException
agent
- KAoSActor to be registered in this domain.
DomainFailure
- if domain registration mechanism fails.
AlreadyRegistered
- if the registering agent has been already registered in the domain.
AlreadyRegisteredException
void degisterAgent(KAoSActor agent) throws DomainFailure, NotRegisteredException
agent
- KAoSActor to be deregistered from this domain.
DomainFailure
- if domain deregistration mechanism fails.
NotRegisteredException
- if the deregistering agent has not been registered in this domain.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |