org.olap4j.metadata
Interface MetadataElement

All Known Subinterfaces:
Cube, Dimension, Hierarchy, Level, Measure, Member, NamedSet, Property
All Known Implementing Classes:
Property.StandardCellProperty, Property.StandardMemberProperty

public interface MetadataElement

An element which describes the structure of an OLAP schema.

Since:
Oct 13, 2006
Version:
$Id: MetadataElement.java 229 2009-05-08 19:11:29Z jhyde $
Author:
jhyde

Method Summary
 java.lang.String getCaption(java.util.Locale locale)
          Returns the caption of this element in the given locale.
 java.lang.String getDescription(java.util.Locale locale)
          Returns the description of this element in the given locale.
 java.lang.String getName()
          Returns the name of this element.
 java.lang.String getUniqueName()
          Returns the unique name of this element within its schema.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this element.

Returns:
name

getUniqueName

java.lang.String getUniqueName()
Returns the unique name of this element within its schema.

Returns:
unique name of this element

getCaption

java.lang.String getCaption(java.util.Locale locale)
Returns the caption of this element in the given locale.

If locale is null or if no caption has been defined for the element in that locale, returns the caption in base locale.

This method may return the empty string, but never returns null.

Parameters:
locale - Locale
Returns:
Caption of this element in the given locale, or the base locale; never null.

getDescription

java.lang.String getDescription(java.util.Locale locale)
Returns the description of this element in the given locale.

If locale is null or if no description has been defined for the element in that locale, returns the description in base locale.

This method may return the empty string, but never returns null.

Parameters:
locale - Locale
Returns:
description of this element in the given locale, or the base locale; never null.

SourceForge.net_Logo