Skip to content

Commit

Permalink
Implement MetadataElement.isVisible in more classes.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@374 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
julianhyde committed Dec 3, 2010
1 parent 116ad0d commit f2beff8
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/org/olap4j/driver/xmla/XmlaOlap4jCellProperty.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public String getDescription() {
public ContentType getContentType() {
return ContentType.REGULAR;
}

public boolean isVisible() {
return true;
}
}

// End XmlaOlap4jCellProperty.java
4 changes: 4 additions & 0 deletions src/org/olap4j/driver/xmla/XmlaOlap4jCellSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,10 @@ public String getCaption() {
public String getDescription() {
return null;
}

public boolean isVisible() {
return true;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ public String getDescription() {
public ContentType getContentType() {
return ContentType.REGULAR;
}

public boolean isVisible() {
return true;
}
}

// End XmlaOlap4jCellSetMemberProperty.java
4 changes: 4 additions & 0 deletions src/org/olap4j/driver/xmla/XmlaOlap4jPositionMember.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ public String getDescription() {
return member.getDescription();
}

public boolean isVisible() {
return member.isVisible();
}

/**
* Read-only map that contains the union of two maps.
*/
Expand Down
8 changes: 8 additions & 0 deletions src/org/olap4j/metadata/Property.java
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,10 @@ public ContentType getContentType() {
public boolean isInternal() {
return internal;
}

public boolean isVisible() {
return !internal;
}
}

/**
Expand Down Expand Up @@ -762,6 +766,10 @@ public boolean isInternal() {
return internal;
}

public boolean isVisible() {
return !internal;
}

public ContentType getContentType() {
return ContentType.REGULAR;
}
Expand Down

0 comments on commit f2beff8

Please sign in to comment.