|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBasicAgentDescription
kaos.core.service.directory.DefaultDomainDescription
public class DefaultDomainDescription
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.
| Field Summary |
|---|
| Fields inherited from interface kaos.core.service.directory.DomainDescription |
|---|
DOMAIN_CHILDREN_NAMES, DOMAIN_DEFAULT_MODALITY, DOMAIN_DEFAULT_PRIORITY, DOMAIN_MODALITY, DOMAIN_PARENT_NAME, DOMAIN_PRIORITY |
| Constructor Summary | |
|---|---|
DefaultDomainDescription()
|
|
| Method Summary | |
|---|---|
void |
addChildName(java.lang.String name)
Add a domain name to the collection of domain names that are immediate children of the domain described by this description. |
java.util.List<java.lang.String> |
getChildrenNames()
Obtain the names of the immediate children domains. |
java.lang.String |
getDomainName()
Obtain the name of the domain described by this description. |
java.lang.String |
getModality()
Obtain the authorization modality of the domain described by this description. |
java.lang.String |
getParentName()
Obtain the name of the parent domain. |
java.lang.String |
getPriority()
Obtain the priority of the domain described by this description. |
boolean |
removeChildName(java.lang.String name)
Remove a domain name from the collection of names of immediate children domains. |
void |
removeParentName(java.lang.String name)
Remove the name of the parent of the domain described by this description. |
void |
setChildrenNames(java.util.List domainNames)
Set the names of the immediate children domains. |
void |
setDomainName(java.lang.String name)
Set the name of the domain described by this description. |
void |
setModality(java.lang.String modality)
Set the authorization modality of the domain described by this description. |
void |
setParentName(java.lang.String name)
Set the name of the parent of the domain described by this description. |
void |
setPriority(java.lang.String priority)
Set the priority of the domain described by this description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDomainDescription()
| Method Detail |
|---|
public java.util.List<java.lang.String> getChildrenNames()
getChildrenNames in interface DomainDescriptionpublic void setChildrenNames(java.util.List domainNames)
setChildrenNames in interface DomainDescriptiondomainNames - The domainNames containing a List of all names of domains that are immediate children
of the domain described by this description.public void addChildName(java.lang.String name)
addChildName in interface DomainDescriptionname - The name of a domain to be added to the collection of children domain names.public boolean removeChildName(java.lang.String name)
removeChildName in interface DomainDescriptionname - The name of a domain to be removed from the collection of names of children domains.
public void setDomainName(java.lang.String name)
setDomainName in interface DomainDescriptionname - The name of the domain this description refers to.public java.lang.String getDomainName()
getDomainName in interface DomainDescriptionpublic java.lang.String getModality()
getModality in interface DomainDescriptionpublic void setModality(java.lang.String modality)
setModality in interface DomainDescriptionmodality - The modality of the domain described by this description.public java.lang.String getPriority()
getPriority in interface DomainDescriptionpublic void setPriority(java.lang.String priority)
setPriority in interface DomainDescriptionpriority - The priority of the domain described by this description.public void setParentName(java.lang.String name)
setParentName in interface DomainDescriptionname - The name of the parent domain.public void removeParentName(java.lang.String name)
removeParentName in interface DomainDescriptionname - The name of the parent domain to be removed as a parent.public java.lang.String getParentName()
getParentName in interface DomainDescription
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||