public class EISResource extends ResourceBase
EISResource
class is used by a container to specify the
EIS resource (and method related to the resource) that a caller is attempting
to access.
The toString
format (which is produced by the ResourceBase
class) for an EIS resource is:
type=<eis>, application=MyApplication, module=My.rar, eis=myResource
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, values
LIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName()
Gets the name of the application associated with the
EISResource . |
String |
getDestinationId()
Gets the name of the
EISResource . |
String |
getEISName()
Gets the name of the
EISResource . |
String[] |
getKeys()
Gets keys for the
EISResource . |
String |
getModuleName()
Gets the name of the
EISResource module. |
String |
getType()
Gets the type of this resource (
EISResource ). |
protected Resource |
makeParent()
Gets a
Resource object that represents the parent of the
current EISResource . |
appendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, toString, writeResourceString
public String getType()
EISResource
).protected Resource makeParent()
Resource
object that represents the parent of the
current EISResource
. If the resource does not have a parent, the value of
null
must be returned.
The parentage hierarchy for the EISResource
(that is, the values returned from
successive calls to this method) is:
type=<eis>, application=MyApplication, module=My.rar
type=<eis>, application=MyApplication
type=<app>, application=MyApplication
type=<eis>
makeParent
in class ResourceBase
Resource
object of the parent resource.public String[] getKeys()
EISResource
.getKeys
in interface Resource
getKeys
in class ResourceBase
EISResource
's keys.public String getApplicationName()
EISResource
.EISResource
,
represented as a String.public String getModuleName()
EISResource
module.EISResource
module, represented as a String.public String getEISName()
EISResource
.EISResource
, represented as a String.public String getDestinationId()
EISResource
.EISResource
, represented as a String.