|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.sasmdx.Level
public class Level
Contains the client side implementation for com.sas.storage.olap.LevelInterface. This implementation uses the IOM/OLAP interfaces provided by the SAS OLAP server. There actually aren't any remote calls in this particular class. All remote metadata calls are made from within the MetadataInterface implementation.
Field Summary |
---|
Fields inherited from interface com.sas.storage.olap.LevelInterface |
---|
TYPE_ALL, TYPE_CALCULATED, TYPE_REGULAR, TYPE_TIME, TYPE_TIME_DAYS, TYPE_TIME_HALF_YEAR, TYPE_TIME_HOURS, TYPE_TIME_MINUTES, TYPE_TIME_MONTHS, TYPE_TIME_QUARTERS, TYPE_TIME_SECONDS, TYPE_TIME_UNDEFINED, TYPE_TIME_WEEKS, TYPE_TIME_YEARS, TYPE_UNKNOWN |
Constructor Summary | |
---|---|
Level(MetadataInterface metadata,
com.sas.iom.SASMDX.ISession _session,
java.lang.String catalogName,
java.lang.String schemaName,
java.lang.String cubeName,
java.lang.String uniqueDimensionName,
java.lang.String uniqueHierarchyName,
java.lang.String name,
java.lang.String uniqueName,
java.lang.String label,
int type,
int memberCount,
int depth,
java.lang.String description)
|
Method Summary | |
---|---|
java.util.Date |
getCreationDateTime()
This method is not supported |
CubeInterface |
getCube()
Get this level's cube |
int |
getDepth()
Get the depth of this level |
java.lang.String |
getDescription()
Return the description of level |
Filter |
getFilter()
Get the Filter with the properties used to create this object |
HierarchyInterface |
getHierarchy()
Get the hierarchy that this level belongs to |
java.lang.String |
getLabel()
Get the label/caption for this metadata object |
int |
getMemberCount()
Get the number of members for this hierarchy |
MemberInterface[] |
getMembers()
Get all the members for this level |
MemberInterface[] |
getMembers(int index,
int count)
Get the count number of members beginning at the index |
MetadataInterface |
getMetadata()
Returns the metadataSession for this hierarchy. |
java.lang.String |
getName()
Get the Name of this object |
PropertyInterface[] |
getProperties()
Get the properties associated with this level |
int |
getType()
Get the type of the level |
java.lang.String |
getUniqueName()
Get the Unique name of this object |
java.util.Date |
getUpdateDateTime()
Get the last update/modified date time for this object |
Constructor Detail |
---|
public Level(MetadataInterface metadata, com.sas.iom.SASMDX.ISession _session, java.lang.String catalogName, java.lang.String schemaName, java.lang.String cubeName, java.lang.String uniqueDimensionName, java.lang.String uniqueHierarchyName, java.lang.String name, java.lang.String uniqueName, java.lang.String label, int type, int memberCount, int depth, java.lang.String description) throws OLAPException
OLAPException
Method Detail |
---|
public java.lang.String getName() throws OLAPException
MetadataEntityInterface
getName
in interface MetadataEntityInterface
OLAPException
public java.lang.String getLabel() throws OLAPException
MetadataEntityInterface
getLabel
in interface MetadataEntityInterface
OLAPException
public java.lang.String getUniqueName() throws OLAPException
MetadataEntityInterface
getUniqueName
in interface MetadataEntityInterface
OLAPException
public java.lang.String getDescription() throws OLAPException
getDescription
in interface MetadataEntityInterface
OLAPException
public HierarchyInterface getHierarchy() throws OLAPException
getHierarchy
in interface LevelInterface
OLAPException
- if a database error occurspublic int getMemberCount() throws OLAPException
getMemberCount
in interface LevelInterface
OLAPException
- if a database error occurspublic int getType() throws OLAPException
getType
in interface LevelInterface
OLAPException
- if a database error occursLevelInterface
public int getDepth() throws OLAPException
getDepth
in interface LevelInterface
OLAPException
- if a database error occurspublic MemberInterface[] getMembers() throws OLAPException
getMembers
in interface LevelInterface
OLAPException
- if a database error occurspublic MemberInterface[] getMembers(int index, int count) throws OLAPException
getMembers
in interface LevelInterface
index
- start indexcount
- number of members
OLAPException
- if a database error occurspublic PropertyInterface[] getProperties() throws OLAPException
getProperties
in interface LevelInterface
OLAPException
- if a database error occurspublic Filter getFilter() throws OLAPException
getFilter
in interface LevelInterface
OLAPException
- if a database error occurspublic CubeInterface getCube() throws OLAPException
getCube
in interface LevelInterface
OLAPException
- if a database error occurspublic MetadataInterface getMetadata() throws OLAPException
getMetadata
in interface MetadataEntityInterface
OLAPException
- if a database error occursLevelInterface
public java.util.Date getCreationDateTime() throws OLAPException
getCreationDateTime
in interface MetadataEntityInterface
OLAPException
public java.util.Date getUpdateDateTime() throws OLAPException
MetadataEntityInterface
getUpdateDateTime
in interface MetadataEntityInterface
OLAPException
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |