public class ServiceInfo
extends java.lang.Object
Constructor and Description |
---|
ServiceInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setName(java.lang.String svcname)
svcname
- The service namepublic DataSet getDataSet(SessionPool spool)
spool
- A session poolpublic int getDefinition(SessionPool spool)
spool
- A session pool objectname
- A sevice namepublic java.lang.String getLabel(java.lang.String name, int index)
name
- The name of the attributeindex
- An instance numberpublic java.lang.String getFieldName(java.lang.String name, int index)
name
- The name of the attributeindex
- An instance numberpublic int getMaxCount(java.lang.String name)
name
- The name of the attributepublic int getDisplayLength(java.lang.String name)
name
- The name of the attributepublic java.lang.String getType(java.lang.String name)
name
- The name of the attribute