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

public class MenuDefinitionId
extends `Id`

Represents the primary keys of `Menu` definition objects in the database, and is used to uniquely identify them. `MenuDefinitionId` will be needed when customizing menus on a desktop.

Hierarchy
  `Object`
  `Id`
  `MenuDefinitionId`

All Implemented Interfaces
  `Serializable`

## Field Summary

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

## Constructor Summary

MenuDefinitionId(int id)

## Method Summary

`public static `MenuDefinitionId`` | `clone`(`MenuDefinitionId` menuDefinitionId)
`protected `Object`` | `clone`()
`public static `MenuDefinitionId`` | `createMenuDefinitionId`(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

### MenuDefinitionId

    public MenuDefinitionId(int id)

## Method Detail

### clone(MenuDefinitionId) Method

    public static MenuDefinitionId clone(MenuDefinitionId menuDefinitionId)

#### Parameters

menuDefinitionId
  the `MenuDefinitionId` to be cloned.

#### Returns

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

### clone() Method

    protected Object clone()

Overrides
  `Object.clone()`

#### Returns

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

### createMenuDefinitionId(int) Method

    public static MenuDefinitionId createMenuDefinitionId(int id)

#### Parameters

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

#### Returns

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