Oracle® Collaboration Suite Workspaces API Reference
10g (10.1.1.0.2)

Part No. B16233-01


oracle.workspaces
Class CwResourceType

java.lang.Object
  extended byoracle.workspaces.CwEntityType
      extended byoracle.workspaces.CwResourceType

All Implemented Interfaces:
java.io.Serializable

public final class CwResourceType
extends CwEntityType
Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Field Summary

Fields inherited from class oracle.workspaces.CwEntityType
ANNOUNCEMENT, CALENDAR_EVENT, CALENDAR_RESOURCE, CALENDAR_TASK, DISCUSSION_BOARD, DISCUSSION_MESSAGE, DISCUSSION_RESOURCE, DISCUSSION_THREAD, EMAIL_RESOURCE, FILE, FILES_FOLDER, FILES_RESOURCE, VIEW, VIEW_RESOURCE, WEBCONF_INSTANT, WEBCONF_RESOURCE, WEBCONF_SCHEDULED, WORKSPACE

Method Summary
boolean equals(java.lang.Object obj)
Equals determines if two objects represents the same CwEntityType
java.lang.String getDescription()
Returns description of the resourse type.
static CwResourceType getResourceType(java.lang.String szRsrcName)
Get the resource type from the resource name
static CwResourceType getResourceTypeFromUid(CwUid rsrcUid)
A convenient type-safe helper to get the resource type from a resource uid.
int hashCode()
Get the hash code

Methods inherited from class oracle.workspaces.CwEntityType
getDisplayName, getName, toString

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Method Detail

equals

public boolean equals(java.lang.Object obj)
Equals determines if two objects represents the same CwEntityType
Overrides:
equals in class CwEntityType
Parameters:
obj - the other CwEntityType to compare to

getDescription

public java.lang.String getDescription()
Returns description of the resourse type.

getResourceType

public static CwResourceType getResourceType(java.lang.String szRsrcName)
                                      throws CwAssertionException
Get the resource type from the resource name
Throws:
CwAssertionException

getResourceTypeFromUid

public static CwResourceType getResourceTypeFromUid(CwUid rsrcUid)
                                             throws CwAssertionException
A convenient type-safe helper to get the resource type from a resource uid.
Throws:
CwAssertionException

hashCode

public int hashCode()
Get the hash code
Overrides:
hashCode in class CwEntityType

Copyright © 2001, 2005, Oracle. All rights reserved.