Skip to content

Commit

Permalink
Javadoc changes regarding locale and visibility.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@379 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
julianhyde committed Dec 17, 2010
1 parent 2d66d33 commit 6c1e790
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions src/org/olap4j/metadata/MetadataElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public interface MetadataElement {
*
* <p>Name is never null. Unlike {@link #getCaption() caption} and
* {@link #getDescription() description}, an element's name is the same in
* all locales.
* every {@link java.util.Locale}.
*
* @return name of this element
*/
Expand All @@ -36,7 +36,7 @@ public interface MetadataElement {
*
* <p>Unlike {@link #getCaption() caption} and
* {@link #getDescription() description}, an element's unique name is the
* same in all locales.
* same in every {@link java.util.Locale}.
*
* <p>The structure of the unique name is provider-specific and subject to
* change between provider versions. Applications should not attempt to
Expand All @@ -47,7 +47,8 @@ public interface MetadataElement {
String getUniqueName();

/**
* Returns the caption of this element in the current connection's locale.
* Returns the caption of this element in the current connection's
* {@link java.util.Locale}.
*
* <p>This method may return the empty string, but never returns null.
* The rules for deriving an element's caption are provider-specific,
Expand Down Expand Up @@ -76,9 +77,21 @@ public interface MetadataElement {
*/
String getDescription();

/*
/**
* Returns whether this element is visible to end-users.
*
* <p>Visibility is a hint for client applications. An element's visibility
* does not affect how it is treated when MDX queries are evaluated.
*
* <p>If you wish to hide an MDX element at a deeper level, consider two
* OLAP concepts that sound similar to visibility but have different
* semantics:
*
* <ul>
* <li>{@link Member#isHidden Hidden members} in ragged hierarchies;</li>
* <li>{@link org.olap4j.OlapConnection#getRoleName Access control}</li>
* </ul>
*
* @return Whether this element is visible
*/
boolean isVisible();
Expand Down

0 comments on commit 6c1e790

Please sign in to comment.