public class JspletWindowIDImpl extends java.lang.Object implements JspletWindowID
| Modifier and Type | Method and Description |
|---|---|
static JspletWindowIDImpl |
createFromString(java.lang.String stringId)
Creates a portlet window ID instance from a string.
|
java.lang.String |
getStringId() |
int |
hashCode()
public boolean equals(Object object) {
boolean result = false;
if (object instanceof PortletWindowIDImpl) {
result = (intId == ((PortletWindowIDImpl) object).intId);
} else if (object instanceof String) {
result = stringId.equals(object);
} else if (object instanceof Integer) {
result = (intId == ((Integer) object).intValue());
}
return (result);
}
|
int |
intValue() |
public java.lang.String getStringId()
getStringId in interface JspletWindowIDpublic int hashCode()
hashCode in class java.lang.Objectpublic int intValue()
public static JspletWindowIDImpl createFromString(java.lang.String stringId)
stringId - the string ID from which the instance is created.