public class JspletWindowIDImpl extends java.lang.Object implements JspletWindowID
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 JspletWindowIDpublic int hashCode()
hashCode 在类中 java.lang.Objectpublic int intValue()
public static JspletWindowIDImpl createFromString(java.lang.String stringId)
stringId - the string ID from which the instance is created.