|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSEntityDescription
Defines the operations to access information about a KAoS entity. The information includes the host name/address, the domain names the entity is member of, the entity type (GUARD or AGENT), and the ID of the execution environmnet the entity is running in.
Field Summary | |
---|---|
static java.lang.String |
CONCEPT_MAPPING_NAME
|
static java.lang.String |
ENTITY_DAML_S_TYPES
|
static java.lang.String |
ENTITY_DOMAIN_NAMES
|
static java.lang.String |
ENTITY_HOST_ADDRESS
|
static java.lang.String |
ENTITY_HOST_NAME
|
static java.lang.String |
ENTITY_ONTOLOGICAL_TYPE_NAMES
|
static java.lang.String |
ENTITY_ONTOLOGICAL_TYPES
|
static java.lang.String |
ENTITY_TYPE
|
static java.lang.String |
EXECUTION_ENVIRONMENT
|
static java.lang.String |
FULL_SEARCH
|
static java.lang.String |
IS_ENTITY_POLICY_SUBJECT
|
static java.lang.String |
IS_ENTITY_RUNNING
|
static java.lang.String |
SEARCH_PARAMS
|
Method Summary | |
---|---|
void |
addDomainName(java.lang.String name)
Add a domain name to the collection of domain names held by the KAoSEntityDescription. |
void |
addEntityDAMLSType(java.lang.String type,
java.lang.String damlSInterface)
Add DAML-S type to the collection of DAML-S types held by the KAoSEntityDescription. |
void |
addEntityOntologicalType(java.lang.String type,
java.lang.String damlDesc)
Add an ontological type to the collection of types held by the KAoSEntityDescription. |
void |
clearLocators()
Clear the locators property contained by this KAoSEntityDescription. |
java.lang.String |
getConceptMappingName()
Get the name of the concept mapping between the entity system's ontological concepts and KAoS ontology. |
java.util.List |
getDomainNames()
Obtain the names of the domains a given entity is member of. |
java.util.Enumeration |
getEntityDAMLSTypeNames()
Obtain the collection of just names of DAML-S types of KAoS entity described by this KAoSEntityDescription. |
java.util.Map |
getEntityDAMLSTypes()
Obtain the collection of DAML-S types of KAoS entity described by this KAoSEntityDescription. |
java.lang.String |
getEntityNameAsString()
Obtain the entity's name as String. |
java.lang.String |
getEntityOntologicalType()
Obtain the ontological type of KAoS entity described by this KAoSEntityDescription. |
java.util.Enumeration |
getEntityOntologicalTypeNames()
Obtain the collection of just names of ontological types of KAoS entity described by this KAoSEntityDescription. |
java.util.Map |
getEntityOntologicalTypes()
Obtain the collection of ontological types of KAoS entity described by this KAoSEntityDescription. |
java.lang.String |
getEntityType()
Obtain the type of entity that is described by this KAoSEntityDescription. |
java.lang.String |
getExecutionEnv()
Obtain the id of the execution environment of this entity. |
java.lang.String |
getHostAddress()
Obtain the host address property contained by this the KAoSEntityDescription. |
java.lang.String |
getHostName()
Obtain the host name property contained by this KAoSEntityDescription. |
boolean |
isEntityPolicySubject()
Obtain the info whether the entity is a subject of policies. |
boolean |
isEntityRunning()
Obtain the info whether the entity is running or not (virtual). |
void |
modifyProperties(java.util.List propertiesToModify)
Modify key-value pairs of this KAoSEntityDescription as specified by the Property objects containted in the given list. |
boolean |
removeDomainName(java.lang.String name)
Remove a domain name from the collection of domain names held by the KAoSEntityDescription. |
boolean |
removeEntityDAMLSType(java.lang.String type)
Remove a DAML-S type from the collection of DAML-S types held by the KAoSEntityDescription. |
boolean |
removeEntityOntologicalType(java.lang.String type)
Remove an ontological type from the collection of types held by the KAoSEntityDescription. |
java.lang.String |
removeExecutionEnv()
Remove the id of the execution environment property contained by this KAoSAgentDescription. |
java.lang.String |
removeHostAddress()
Remove the address of the host. |
java.lang.String |
removeHostName()
Remove the host name property contained by this KAoSEntityDescription. |
void |
setConceptMappingName(java.lang.String mappingName)
Set the name of the concept mapping between the entity system's ontological concepts and KAoS ontology. |
void |
setDomainNames(java.util.List domainNames)
Set names of the domains a given entity is member of. |
void |
setEntityDAMLSTypes(java.util.Map types)
Set the DAML-S types of KAoS entity. |
void |
setEntityNameAsString(java.lang.String name)
Set the name of the entity as String, which is the String representation of AgentName. |
void |
setEntityOntologicalType(java.lang.String type)
Set the ontological type of KAoS entity. |
void |
setEntityOntologicalTypes(java.util.Map types)
Set the ontological types of KAoS entity. |
void |
setEntityType(java.lang.String name)
Set the type of KAoS entity. |
void |
setExecutionEnv(java.lang.String executionEnv)
Set the execution environment the entity is running in. |
void |
setHostAddress(java.lang.String address)
Set the address of the host the entity is running on. |
void |
setHostName(java.lang.String name)
Set the name of the host the entity is running on. |
void |
setIsEntityPolicySubject(boolean isPolicySubject)
Set the indicator of whether the entity will/will not be a policy subject. |
void |
setIsEntityRunning(boolean isEntityRunning)
Set the indicator of whether the entity is running. |
Field Detail |
---|
static final java.lang.String CONCEPT_MAPPING_NAME
static final java.lang.String ENTITY_DOMAIN_NAMES
static final java.lang.String ENTITY_TYPE
static final java.lang.String ENTITY_ONTOLOGICAL_TYPES
static final java.lang.String ENTITY_ONTOLOGICAL_TYPE_NAMES
static final java.lang.String ENTITY_DAML_S_TYPES
static final java.lang.String EXECUTION_ENVIRONMENT
static final java.lang.String ENTITY_HOST_NAME
static final java.lang.String ENTITY_HOST_ADDRESS
static final java.lang.String IS_ENTITY_POLICY_SUBJECT
static final java.lang.String IS_ENTITY_RUNNING
static final java.lang.String FULL_SEARCH
static final java.lang.String SEARCH_PARAMS
Method Detail |
---|
java.lang.String getConceptMappingName()
void setConceptMappingName(java.lang.String mappingName)
mappingName
- The name of the mapping to be used to translate ontological names from
the entity system to KAoS ontologies.java.util.List getDomainNames()
void setDomainNames(java.util.List domainNames)
domainNames
- The domainNames containing a List of all names of domains a given entity is registered in.void addDomainName(java.lang.String name)
name
- The name of a domain to be added to the collection of domain names.boolean removeDomainName(java.lang.String name)
name
- The name of a domain to be removed from the collection of domain names.
void setExecutionEnv(java.lang.String executionEnv)
executionEnv
- The execution environment in which the entity is running.java.lang.String getExecutionEnv()
java.lang.String removeExecutionEnv()
void setHostAddress(java.lang.String address)
address
- The address of the host where the enitity is running.java.lang.String getHostAddress()
java.lang.String removeHostAddress()
void setHostName(java.lang.String name)
name
- The name of the host where the entity is running.java.lang.String getHostName()
java.lang.String removeHostName()
java.lang.String getEntityNameAsString()
void setEntityNameAsString(java.lang.String name)
name
- The name of entity represented as String.void setEntityType(java.lang.String name)
name
- The type of the entity.java.lang.String getEntityType()
void setEntityOntologicalType(java.lang.String type)
type
- The ontological type of the entity this description is associated with.java.lang.String getEntityOntologicalType()
void addEntityOntologicalType(java.lang.String type, java.lang.String damlDesc)
type
- String containing the name of ontological type of the entity described by this description.damlDesc
- String containing DAML description of the corresponding ontological type.boolean removeEntityOntologicalType(java.lang.String type)
type
- The name of the ontological type to be removed from the collection of ontological types.
void setEntityOntologicalTypes(java.util.Map types)
types
- Map containing type name -> DAML description mapping of ontological types
of the entity this description is associated with.java.util.Map getEntityOntologicalTypes()
java.util.Enumeration getEntityOntologicalTypeNames()
void addEntityDAMLSType(java.lang.String type, java.lang.String damlSInterface)
type
- String containing the name of DAML-S type of the entity described by this description.damlDesc
- String containing DAML-S interface as String of the corresponding DAML-S type.boolean removeEntityDAMLSType(java.lang.String type)
type
- The name of the DAML-S type to be removed from the collection of DAML-S types.
void setEntityDAMLSTypes(java.util.Map types)
types
- Map containing DAML-S name -> DAML-S interface mapping
of the entity this description is associated with.java.util.Map getEntityDAMLSTypes()
java.util.Enumeration getEntityDAMLSTypeNames()
boolean isEntityPolicySubject()
void setIsEntityPolicySubject(boolean isPolicySubject)
isPolicySubject
- The boolean indicating whether the entity will/will not be governed by policies.boolean isEntityRunning()
void setIsEntityRunning(boolean isEntityRunning)
isEntityRunning
- The boolean indicating whether the entity is running.void modifyProperties(java.util.List propertiesToModify) throws ModificationException
propertiesToModify
- List containing Property objects specifying the modifcations.
ModificationException
- containing Properties, whose modifications failed. Each failed property
includes the description of the failure.void clearLocators()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |