# com.bea.netuix.application.localization.definition
LocalizationResource Class

public class LocalizationResource
extends `Object`
implements `Serializable`

A `LocalizationResource` is used to localize portal resources such as book, pages, portlets, etc. There can be many LocalizationResources per resource, and only one per Locale.

Hierarchy
  `Object`
  `LocalizationResource`

All Implemented Interfaces
  `Serializable`

## Field Summary

`public static final `String`` | `BOOK_TYPE` String
`public static final `String`` | `DESKTOP_TYPE` String
`public static final `String`` | `LAYOUT_TYPE` String
`protected `LocalizationLocale`` | `localizationLocale` LocalizationLocale
`public static final `String`` | `LOOK_AND_FEEL_TYPE` String
`public static final `String`` | `MENU_TYPE` String
`public static final `String`` | `PAGE_TYPE` String
`public static final `String`` | `PLACEHOLDER_TYPE` String
`public static final `String`` | `PORTAL_APPLICATION` String
`public static final `String`` | `PORTAL_TYPE` String
`public static final `String`` | `PORTLET_CATEGORY_TYPE` String
`public static final `String`` | `PORTLET_TYPE` String
`public static final `String`` | `SHELL_TYPE` String
`public static final `String`` | `THEME_TYPE` String

## Constructor Summary

LocalizationResource(`LocalizationLocale` localizationLocale, `String` title, `String` description, `String` type, `String` application)
LocalizationResource(`Locale` locale, `String` encoding, `String` title, `String` description, `String` type, `String` application)
LocalizationResource(`Locale` locale, `String` title, `String` description, `String` type, `String` application)
LocalizationResource(`Locale` locale, `String` encoding, `String` title, `String` description)
LocalizationResource(`Locale` locale, `String` title, `String` description)

## Method Summary

`public boolean` | `equivalent`(`LocalizationResource` other) Are these two locales equivalent in title, description and locale
`public `String`` | `getApplication`()
`public `String`` | `getDescription`()
`public `LocalizationIntersectionId`` | `getLocalizationIntersectionId`()
`public `LocalizationLocale`` | `getLocalizationLocale`()
`public `String`` | `getTitle`()
`public `String`` | `getType`()
`public void` | `setApplication`(`String` application)
`public void` | `setDescription`(`String` description)
`public void` | `setLocalizationLocale`(`LocalizationLocale` localizationLocale)
`public void` | `setTitle`(`String` title)
`public void` | `setType`(`String` type)
`public `String`` | `toString`()

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

## Field Detail

### BOOK_TYPE

    public static final String BOOK_TYPE

### DESKTOP_TYPE

    public static final String DESKTOP_TYPE

### LAYOUT_TYPE

    public static final String LAYOUT_TYPE

### localizationLocale

    protected LocalizationLocale localizationLocale

### LOOK_AND_FEEL_TYPE

    public static final String LOOK_AND_FEEL_TYPE

### MENU_TYPE

    public static final String MENU_TYPE

### PAGE_TYPE

    public static final String PAGE_TYPE

### PLACEHOLDER_TYPE

    public static final String PLACEHOLDER_TYPE

### PORTAL_APPLICATION

    public static final String PORTAL_APPLICATION

### PORTAL_TYPE

    public static final String PORTAL_TYPE

### PORTLET_CATEGORY_TYPE

    public static final String PORTLET_CATEGORY_TYPE

### PORTLET_TYPE

    public static final String PORTLET_TYPE

### SHELL_TYPE

    public static final String SHELL_TYPE

### THEME_TYPE

    public static final String THEME_TYPE

## Constructor Detail

### LocalizationResource

    public LocalizationResource(LocalizationLocale localizationLocale,
                                String title,
                                String description,
                                String type,
                                String application)

### LocalizationResource

    public LocalizationResource(Locale locale,
                                String encoding,
                                String title,
                                String description,
                                String type,
                                String application)

### LocalizationResource

    public LocalizationResource(Locale locale,
                                String title,
                                String description,
                                String type,
                                String application)

### LocalizationResource

    public LocalizationResource(Locale locale,
                                String encoding,
                                String title,
                                String description)

### LocalizationResource

    public LocalizationResource(Locale locale,
                                String title,
                                String description)

## Method Detail

### equivalent(LocalizationResource) Method

    public boolean equivalent(LocalizationResource other)

Are these two locales equivalent in title, description and locale

#### Parameters

other
  the other localizationResource

#### Returns

true if they are equivalent

### getApplication() Method

    public String getApplication()

### getDescription() Method

    public String getDescription()

### getLocalizationIntersectionId() Method

    public LocalizationIntersectionId getLocalizationIntersectionId()

### getLocalizationLocale() Method

    public LocalizationLocale getLocalizationLocale()

### getTitle() Method

    public String getTitle()

### getType() Method

    public String getType()

### setApplication(String) Method

    public void setApplication(String application)

### setDescription(String) Method

    public void setDescription(String description)

### setLocalizationLocale(LocalizationLocale) Method

    public void setLocalizationLocale(LocalizationLocale localizationLocale)

### setTitle(String) Method

    public void setTitle(String title)

### setType(String) Method

    public void setType(String type)

### toString() Method

    public String toString()

Overrides
  `Object.toString()`