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

public class MarkupDefinitionId
extends `Id`

Represents the primary keys of `MarkupDefinition` objects in the database, and is used to uniquely identify them. `MarkupDefinitionId` will be needed when getting/setting the markup of portal framework objects such as `Book`s, `Page`s, and `Portlet`s .

Hierarchy
  `Object`
  `Id`
  `MarkupDefinitionId`

All Implemented Interfaces
  `Serializable`

## Field Summary

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

## Constructor Summary

MarkupDefinitionId(int id)

## Method Summary

`public static `MarkupDefinitionId`` | `clone`(`MarkupDefinitionId` markupDefinitionId)
`protected `Object`` | `clone`()
`public static `MarkupDefinitionId`` | `createMarkupDefinitionId`(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

### MarkupDefinitionId

    public MarkupDefinitionId(int id)

## Method Detail

### clone(MarkupDefinitionId) Method

    public static MarkupDefinitionId clone(MarkupDefinitionId markupDefinitionId)

#### Parameters

markupDefinitionId
  the `MarkupDefinitionId` to be cloned.

#### Returns

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

### clone() Method

    protected Object clone()

Overrides
  `Object.clone()`

#### Returns

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

### createMarkupDefinitionId(int) Method

    public static MarkupDefinitionId createMarkupDefinitionId(int id)

#### Parameters

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

#### Returns

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