com.genesyslab.ail
Interface ResourceProperty

All Superinterfaces:
IdObject

public interface ResourceProperty
extends IdObject

A resource is an agent's element for configuration purpose Example: dictionary, color of background and so on.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject
IdObject.ObjectType
 
Method Summary
 byte[] getBinValue()
          Gets the resource value as Binary.
 java.lang.String getKey()
          Gets the resource key, for example: "SpellDictionary".
 java.lang.String getPersonId()
          Gets the owner (person/agent) of this resource.
 java.lang.String getStrValue()
          Gets the resource value as String.
 boolean isString()
          Gets the resource value type.
 
Methods inherited from interface com.genesyslab.ail.IdObject
getId, getObjectType
 

Method Detail

getKey

java.lang.String getKey()
Gets the resource key, for example: "SpellDictionary".

Returns:
a resource key as String

isString

boolean isString()
Gets the resource value type.

Returns:
a boolean, true if String value otherwise Binary value

getStrValue

java.lang.String getStrValue()
Gets the resource value as String.

Returns:
a String value

getBinValue

byte[] getBinValue()
Gets the resource value as Binary.

Returns:
a binary value as byte array

getPersonId

java.lang.String getPersonId()
Gets the owner (person/agent) of this resource.

Returns:
the ID of the person as Integer