# com.bea.netuix.application.identifier
PortletDefinitionId Class

public class PortletDefinitionId
extends `Id`
implements `PlaceableDefinitionId`

Represents the primary keys of `Portlet` definition objects in the database, and is used to uniquely identify them. `PortletDefinitionId` will be needed when customizing any `Portlet` definitions on a desktop.

Hierarchy
  `Object`
  `Id`
  `PortletDefinitionId`

All Implemented Interfaces
  `PlaceableDefinitionId`, `Serializable`

## Field Summary

Fields from com.bea.netuix.application.identifier`.`Id``
``id``

## Constructor Summary

PortletDefinitionId(int id)

## Method Summary

`public static `PortletDefinitionId`` | `clone`(`PortletDefinitionId` portletDefinitionId)
`protected `Object`` | `clone`()
`public static `PortletDefinitionId`` | `createPortletDefinitionId`(int id)

Methods from `com.bea.netuix.application.identifier.`Id``
``equals`, `getId`, `hashCode`, `setId`, `toString``

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

## Constructor Detail

### PortletDefinitionId

    public PortletDefinitionId(int id)

## Method Detail

### clone(PortletDefinitionId) Method

    public static PortletDefinitionId clone(PortletDefinitionId portletDefinitionId)

#### Parameters

portletDefinitionId
  the `PortletDefinitionId` to be cloned.

#### Returns

a new `PortletDefinitionId` with the exact same id value as the `PortletDefinitionId` passed in.

### clone() Method

    protected Object clone()

Overrides
  `Object.clone()`

#### Returns

a new `PortletDefinitionId` with the exact same id value as this `PortletDefinitionId`

### createPortletDefinitionId(int) Method

    public static PortletDefinitionId createPortletDefinitionId(int id)

#### Parameters

id
  the integer value that this `PortletDefinitionId` should be set to.

#### Returns

a new `PortletDefinitionId` with the id value set to the integer passed in.