|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object context.arch.service.helper.FunctionDescription
This class implements a service function description object.
Services
Field Summary | |
static java.lang.String |
FUNCTION
Tag for a service function |
static java.lang.String |
FUNCTION_DESCRIPTION
Tag for a service function description |
static java.lang.String |
FUNCTION_NAME
Tag for a service function name |
static java.lang.String |
FUNCTION_TIMING
Tag for a service function timing - synchronous or asynchronous |
Constructor Summary | |
FunctionDescription(DataObject data)
Basic constructor that creates a function description object from a DataObject. |
|
FunctionDescription(java.lang.String name,
java.lang.String description,
Attributes attributes,
java.lang.String timing)
Basic constructor that creates a function description object. |
|
FunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
Basic constructor that creates a function description object. |
Method Summary | |
Attributes |
getAttributes()
Returns the attributes of the service function |
java.lang.String |
getDescription()
Returns the description of the service function |
java.lang.String |
getName()
Returns the name of the service function |
java.lang.String |
getTiming()
Return the timing of the service function |
void |
setAttributes(Attributes atts)
Sets the attributes for this service function |
void |
setDescription(java.lang.String description)
Sets the description of the service functions |
void |
setName(java.lang.String name)
Sets the Name of the service function |
void |
setTiming(java.lang.String timing)
Sets the timing of the service function - ASYNCHRONOUS or SYNCHRONOUS |
DataObject |
toDataObject()
This method converts the service function info to a DataObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FUNCTION
public static final java.lang.String FUNCTION_NAME
public static final java.lang.String FUNCTION_DESCRIPTION
public static final java.lang.String FUNCTION_TIMING
Constructor Detail |
public FunctionDescription(java.lang.String name, java.lang.String description, java.lang.String timing)
name
- Name of the functiondescription
- Text description of the functiontiming
- ASYNCHRONOUS or SYNCHRONOUSpublic FunctionDescription(java.lang.String name, java.lang.String description, Attributes attributes, java.lang.String timing)
name
- Name of the functiondescription
- Text description of the functionattributes
- Attributes this function takestiming
- ASYNCHRONOUS or SYNCHRONOUSpublic FunctionDescription(DataObject data)
data
- DataObject containing function description infoMethod Detail |
public DataObject toDataObject()
public void setName(java.lang.String name)
name
- Name of the service functionpublic java.lang.String getName()
public void setDescription(java.lang.String description)
description
- Description of the service functionpublic java.lang.String getDescription()
public void setAttributes(Attributes atts)
public Attributes getAttributes()
public void setTiming(java.lang.String timing)
timing
- Timing of the service functionpublic java.lang.String getTiming()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |