Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## portlets.compoze.groupware.calendar
Class ResourceType

    java.lang.Object
      portlets.compoze.groupware.calendar.ResourceType

All Implemented Interfaces:
  java.io.Serializable

public class ResourceType
extends java.lang.Object
implements java.io.Serializable

This class represents the resource type.

See Also:
  Serialized Form

Field Summary
`static ResourceType` | `NONE` This value represents the 'none' resource type.
`static ResourceType` | `OTHER` This value represents the 'other' resource type.
`static ResourceType` | `ROOM` This value represents the 'room' resource type.
`static int` | `VALUE_NONE` This value represents the 'none' value.
`static int` | `VALUE_OTHER` This value represents the 'other' value.
`static int` | `VALUE_ROOM` This value represents the 'room' value.

Constructor Summary
`ResourceType(java.lang.String sKey, int iValue)` Constructor.

Method Summary
`boolean` | `equals(java.lang.Object o)` Compares this resource type with another object.
`java.lang.String` | `getKey()` Gets the i18n key of the resource type.
`int` | `getValue()` Gets the value of the resource type.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### VALUE_NONE

    public static final int VALUE_NONE

  This value represents the 'none' value.

  See Also:
    Constant Field Values

### VALUE_ROOM

    public static final int VALUE_ROOM

  This value represents the 'room' value.

  See Also:
    Constant Field Values

### VALUE_OTHER

    public static final int VALUE_OTHER

  This value represents the 'other' value.

  See Also:
    Constant Field Values

### NONE

    public static final ResourceType NONE

  This value represents the 'none' resource type.

### ROOM

    public static final ResourceType ROOM

  This value represents the 'room' resource type.

### OTHER

    public static final ResourceType OTHER

  This value represents the 'other' resource type.

Constructor Detail

### ResourceType

    public ResourceType(java.lang.String sKey,
                        int iValue)

  Constructor.

Parameters:
  `sKey` - the i18n key
  `iValue` - the value

Method Detail

### getKey

    public java.lang.String getKey()

  Gets the i18n key of the resource type.

  Returns:
    the resource type i18n key

### getValue

    public int getValue()

  Gets the value of the resource type.

  Returns:
    the resource type value

### equals

    public boolean equals(java.lang.Object o)

  Compares this resource type with another object.

  Parameters:
    `o` - the object to compared with
  Returns:
    `true` if they are equal, or `false` otherwise

Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.