|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.portal.tools.resource.ResourceType
public abstract class ResourceType
Abstract base for resource type identifiers.
| Constructor Summary | |
|---|---|
protected |
ResourceType(String namespaceURI)
Constructor. |
| Method Summary | |
|---|---|
boolean |
equals(Object that)
Determine if the given Object
is equal to this ResourceType. |
boolean |
equals(ResourceType that)
Determine if the given ResourceType
is equal to this ResourceType. |
String |
getNamespaceURI()
Get the namespace URI of this ResourceType. |
String |
getTreeMode()
Get the parsed namespace URI of this ResourceType
to serve as a substitute for the editor mapping in componentized instances. |
int |
hashCode()
Get the hash code of this ResourceType. |
String |
toString()
Get a string representation of this ResourceType. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ResourceType(String namespaceURI)
namespaceURI - the URI of the resource type's namespace| Method Detail |
|---|
public final int hashCode()
ResourceType.
The hash code is computed from the URI of the resource type's namespace.
hashCode in class ObjectResourceTypepublic final boolean equals(Object that)
Object
is equal to this ResourceType.
The given Object is considered
to be equal to this ResourceType if and only if
all of these statements are true:
Object is an instance of
ResourceType or a subtype of ResourceType.Object (a ResourceType)
has a namespace URI that equals
the namespace URI of this ResourceID.
equals in class Objecttrue if the given Object
is equal to this ResourceType
and false otherwisepublic final boolean equals(ResourceType that)
ResourceType
is equal to this ResourceType.
The given ResourceType is considered
to be equal to this ResourceType if and only if
all of these statements are true:
ResourceType
has a namespace URI that equals
the namespace URI of this ResourceType.
true if the given ResourceType
is equal to this ResourceType
and false otherwisepublic final String getNamespaceURI()
ResourceType.
ResourceTypepublic String getTreeMode()
ResourceType
to serve as a substitute for the editor mapping in componentized instances.
Should only be used in componentized cases where the tree portlet
is not present
ResourceType
to serve as a substitute for the editor mapping in componentized instances.public final String toString()
ResourceType.
This method returns the namespace URI of this ResourceType.
toString in class ObjectObjectgetNamespaceURI()
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||