Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.resource
Class CwResourceDefinition

java.lang.Object
  extended byoracle.workspaces.resource.CwResourceDefinition

Direct Known Subclasses:
CwEmailResourceDefinition, CwFilesResourceDefinition

public class CwResourceDefinition
extends java.lang.Object
Since:
release specific (what release of product did this appear in)

Constructor Summary
CwResourceDefinition(java.lang.String name, CwResourceType type)
Constructor
CwResourceDefinition(java.lang.String name, java.lang.String desc, CwResourceType type)
Constructor

Method Summary
java.lang.String getDescription()
Returns description for the resource.
java.lang.String getName()
Retruns name for the resource.
CwResourceType getType()
Returns the resource type
void setDescription(java.lang.String desc)
Sets description for the resource.
void setName(java.lang.String name)
Sets name for the resource.
void setType(CwResourceType type)
Sets the resource type

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

Constructor Detail

CwResourceDefinition

public CwResourceDefinition(java.lang.String name,
                            CwResourceType type)
                     throws CwException
Constructor

CwResourceDefinition

public CwResourceDefinition(java.lang.String name,
                            java.lang.String desc,
                            CwResourceType type)
                     throws CwException
Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Returns description for the resource.
Returns:
the resource description

getName

public java.lang.String getName()
Retruns name for the resource.
Returns:
the resource name

getType

public CwResourceType getType()
Returns the resource type

setDescription

public void setDescription(java.lang.String desc)
                    throws CwException
Sets description for the resource.
Throws:
CwException

setName

public void setName(java.lang.String name)
             throws CwException
Sets name for the resource.
Throws:
CwException

setType

public void setType(CwResourceType type)
             throws CwException
Sets the resource type
Throws:
CwException

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