|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bea.jolt.pool.ServiceInfo
This class provides the meta-information about a service and the parameters in the service. It can be used to generate HTML for a service with its input parameters.
Constructor Summary | |
ServiceInfo()
|
Method Summary | |
DataSet |
getDataSet(SessionPool spool)
Gets an empty data set from the input parameters of this service. |
int |
getDefinition(SessionPool spool)
Gets the service definition from a repository. |
int |
getDisplayLength(java.lang.String name)
Gets the display length for the value of an attribute defined in the service definition. |
java.lang.String |
getFieldName(java.lang.String name,
int index)
Maps a multi-occurrence attribute name from the BEA Jolt repository to a unique field name that can be used in a HTML Form. |
java.lang.String |
getLabel(java.lang.String name,
int index)
Gets a presentable label for a multi-occurrence attribute. |
int |
getMaxCount(java.lang.String name)
Gets the maximum occurrence count for an attribute defined in the service definition. |
java.lang.String |
getType(java.lang.String name)
Gets a data type presented in string for an attribute. |
void |
setName(java.lang.String svcname)
Sets the service name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceInfo()
Method Detail |
public void setName(java.lang.String svcname)
svcname
- The service namepublic DataSet getDataSet(SessionPool spool)
spool
- A session pool
public int getDefinition(SessionPool spool)
spool
- A session pool object
public java.lang.String getLabel(java.lang.String name, int index)
name
- The name of the attributeindex
- An instance number
public java.lang.String getFieldName(java.lang.String name, int index)
name
- The name of the attributeindex
- An instance number
public int getMaxCount(java.lang.String name)
name
- The name of the attribute
public int getDisplayLength(java.lang.String name)
name
- The name of the attribute
public java.lang.String getType(java.lang.String name)
name
- The name of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |