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

public class PageInstanceId
extends `Id`
implements `NavigableInstanceId`

Represents the primary keys of `Page` objects in the database, and is used to uniquely identify them. `PageInstanceId` will be needed when customizing `Page` instances on a desktop.

Hierarchy
  `Object`
  `Id`
  `PageInstanceId`

All Implemented Interfaces
  `InstanceId`, `NavigableInstanceId`, `Serializable`

## Field Summary

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

## Constructor Summary

PageInstanceId(int id)

## Method Summary

`public static `PageInstanceId`` | `clone`(`PageInstanceId` pageInstanceId)
`protected `Object`` | `clone`()
`public static `PageInstanceId`` | `createPageInstanceId`(int id)
`public boolean` | `equals`(`Object` o)
`public int` | `hashCode`()

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

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

Methods from interface `com.bea.netuix.application.identifier.`NavigableInstanceId``
``getId``

## Constructor Detail

### PageInstanceId

    public PageInstanceId(int id)

## Method Detail

### clone(PageInstanceId) Method

    public static PageInstanceId clone(PageInstanceId pageInstanceId)

#### Parameters

pageInstanceId
  the `PageInstanceId` to be cloned.

#### Returns

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

### clone() Method

    protected Object clone()

Overrides
  `Object.clone()`

#### Returns

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

### createPageInstanceId(int) Method

    public static PageInstanceId createPageInstanceId(int id)

#### Parameters

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

#### Returns

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

### equals(Object) Method

    public boolean equals(Object o)

Overrides
  `Id.equals(Object)`

#### Parameters

o
  a `PageInstanceId` object to compare to this `PageInstanceId`.

#### Returns

`true` if this `PageInstanceId` object is the same as the `PageInstanceId` object argument; `false` otherwise.

### hashCode() Method

    public int hashCode()

Overrides
  `Id.hashCode()`

#### Returns

a hash code value for this object.