public class ElementListKey extends java.lang.Object implements IElementListKey
IElementListKey.| Constructor and Description |
|---|
ElementListKey(ActionDescriptor pActionID,
IResource pResource)
Basic constructor.
|
ElementListKey(java.lang.String pActionID,
java.lang.String pResourceID)
Constructor with IDs only (useful for loading cache).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getActionID()
Gets the action ID of the key.
|
java.lang.String |
getResourceID()
Returns the ID of the context resource of the element list.
|
int |
hashCode() |
void |
setActionID(java.lang.String pActionID)
Sets the action ID of the key.
|
void |
setResourceID(java.lang.String pResourceID)
Sets the resource ID of the key.
|
public ElementListKey(java.lang.String pActionID,
java.lang.String pResourceID)
pActionID - the action IDpResourceID - the resource ID (can be null)public ElementListKey(ActionDescriptor pActionID, IResource pResource)
pActionID - the action IDpResource - the resource (can be null)public java.lang.String getActionID()
IElementListKeygetActionID in interface IElementListKeypublic java.lang.String getResourceID()
IElementListKeynull if the list was created without a resource.getResourceID in interface IElementListKeynullpublic void setActionID(java.lang.String pActionID)
IElementListKeysetActionID in interface IElementListKeypActionID - the new action ID (must not be null)public void setResourceID(java.lang.String pResourceID)
IElementListKeysetResourceID in interface IElementListKeypResourceID - the new resource IDpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2015 Micro Focus GmbH. All rights reserved.