# com.bea.netuix.application.definition
PlaceholderDefinition Class

public class PlaceholderDefinition
extends `Object`
implements `Serializable`

This class represents a persistant placeholder.

Hierarchy
  `Object`
  `PlaceholderDefinition`

All Implemented Interfaces
  `Serializable`

## Constructor Summary

PlaceholderDefinition(`LocalizationResource` localizationResource, `MarkupDefinitionId` markupDefinitionId, int location) Constructor to create a new `PlaceholderDefinition` object.

## Method Summary

`public `LocalizationResource`` | `getLocalizationResource`() Returns the `LocalizationResource` associated with this `PlaceholderDefinition` based on the locale of the request used for retrieving the `PlaceholderDefinition`.
`public int` | `getLocation`() Returns the location of this placeholder.
`public `MarkupDefinitionId`` | `getMarkupDefinitionId`() Returns the `MarkupDefinitionId` for the `MarkupDefinition` associated with this placeholder.
`public `PlaceholderDefinitionId`` | `getPlaceholderDefinitionId`() Returns the `PlaceholderDefinitionId` for this placeholder.
`public void` | `setLocalizationResource`(`LocalizationResource` localizationResource) Sets the `LocalizationResource` for this placeholder.
`public void` | `setLocation`(int location) Sets the location of this placeholder.
`public void` | `setMarkupDefinitionId`(`MarkupDefinitionId` markupDefinitionId) Sets the `MarkupDefinitionId` for this placeholder.
`public `String`` | `toString`()

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

## Constructor Detail

### PlaceholderDefinition

    public PlaceholderDefinition(LocalizationResource localizationResource,
                                 MarkupDefinitionId markupDefinitionId,
                                 int location)

  Constructor to create a new `PlaceholderDefinition` object.

## Method Detail

### getLocalizationResource() Method

    public LocalizationResource getLocalizationResource()

Returns the `LocalizationResource` associated with this `PlaceholderDefinition` based on the locale of the request used for retrieving the `PlaceholderDefinition`.

#### Returns

`LocalizationResource` associated with this placeholder

### getLocation() Method

    public int getLocation()

Returns the location of this placeholder.

#### Returns

location

### getMarkupDefinitionId() Method

    public MarkupDefinitionId getMarkupDefinitionId()

Returns the `MarkupDefinitionId` for the `MarkupDefinition` associated with this placeholder.

#### Returns

`MarkupDefinitionId`

Related Topics

``MarkupDefinition``

### getPlaceholderDefinitionId() Method

    public PlaceholderDefinitionId getPlaceholderDefinitionId()

Returns the `PlaceholderDefinitionId` for this placeholder. Returns `NULL` when the PlaceholderDefinition has not been retrieved by using the persistence API.

#### Returns

`PlaceholderDefinitionId` for this placeholder

### setLocalizationResource(LocalizationResource) Method

    public void setLocalizationResource(LocalizationResource localizationResource)

Sets the `LocalizationResource` for this placeholder.

### setLocation(int) Method

    public void setLocation(int location)

Sets the location of this placeholder.

### setMarkupDefinitionId(MarkupDefinitionId) Method

    public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)

Sets the `MarkupDefinitionId` for this placeholder.

### toString() Method

    public String toString()

Overrides
  `Object.toString()`