java.io.Serializable
, Resource
, SelfDescribingResource
, SelfDescribingResourceV2
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 | Description |
---|---|---|
java.lang.String |
getApplicationName() |
Gets the name of the application associated with the
EISResource . |
java.lang.String |
getDestinationId() |
Gets the name of the
EISResource . |
java.lang.String |
getEISName() |
Gets the name of the
EISResource . |
java.lang.String[] |
getKeys() |
Gets keys for the
EISResource . |
java.lang.String |
getModuleName() |
Gets the name of the
EISResource module. |
java.lang.String |
getType() |
Gets the type of this resource (
EISResource ). |
protected Resource |
makeParent() |
Gets a
Resource object that represents the parent of the
current EISResource . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, toString, writeResourceString
public java.lang.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 java.lang.String[] getKeys()
EISResource
.getKeys
in interface Resource
getKeys
in class ResourceBase
EISResource
's keys.public java.lang.String getApplicationName()
EISResource
.EISResource
,
represented as a String.public java.lang.String getModuleName()
EISResource
module.EISResource
module, represented as a String.public java.lang.String getEISName()
EISResource
.EISResource
, represented as a String.public java.lang.String getDestinationId()
EISResource
.EISResource
, represented as a String.