# com.bea.netuix.application.definition
CategoryDefinition Interface

public interface CategoryDefinition
extends `Serializable`

Category marker interface.

All Known Implementing Classes
  `PortalDefinition`, `PortletCategoryDefinition`

All Superinterfaces
  `Serializable`

## Method Summary

`public `LocalizationResource`` | `getLocalizationResource`() Returns the `LocalizationResource` associated with this `CategoryDefinition` based on the locale of the request used for retrieving the `CategoryDefinition`.
`public boolean` | `isRoot`() Determines if the category is a root category.
`public void` | `setLocalizationResource`(`LocalizationResource` localizationResource) Sets `LocalizationResource` for this `CategoryDefinition`.

## Method Detail

### getLocalizationResource() Method

    public LocalizationResource getLocalizationResource()

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

#### Returns

`LocalizationResource` associated with this category

### isRoot() Method

    public boolean isRoot()

Determines if the category is a root category.

#### Returns

`true` if this category is the root

### setLocalizationResource(LocalizationResource) Method

    public void setLocalizationResource(LocalizationResource localizationResource)

Sets `LocalizationResource` for this `CategoryDefinition`.