|
| 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 MetadataEntityInterfaceOLAPException
public java.lang.String getLabel()
throws OLAPException
MetadataEntityInterface
getLabel in interface MetadataEntityInterfaceOLAPException
public java.lang.String getUniqueName()
throws OLAPException
MetadataEntityInterface
getUniqueName in interface MetadataEntityInterfaceOLAPException
public java.lang.String getDescription()
throws OLAPException
getDescription in interface MetadataEntityInterfaceOLAPException
public HierarchyInterface getHierarchy()
throws OLAPException
getHierarchy in interface LevelInterfaceOLAPException - if a database error occurs
public int getMemberCount()
throws OLAPException
getMemberCount in interface LevelInterfaceOLAPException - if a database error occurs
public int getType()
throws OLAPException
getType in interface LevelInterfaceOLAPException - if a database error occursLevelInterface
public int getDepth()
throws OLAPException
getDepth in interface LevelInterfaceOLAPException - if a database error occurs
public MemberInterface[] getMembers()
throws OLAPException
getMembers in interface LevelInterfaceOLAPException - if a database error occurs
public MemberInterface[] getMembers(int index,
int count)
throws OLAPException
getMembers in interface LevelInterfaceindex - start indexcount - number of members
OLAPException - if a database error occurs
public PropertyInterface[] getProperties()
throws OLAPException
getProperties in interface LevelInterfaceOLAPException - if a database error occurs
public Filter getFilter()
throws OLAPException
getFilter in interface LevelInterfaceOLAPException - if a database error occurs
public CubeInterface getCube()
throws OLAPException
getCube in interface LevelInterfaceOLAPException - if a database error occurs
public MetadataInterface getMetadata()
throws OLAPException
getMetadata in interface MetadataEntityInterfaceOLAPException - if a database error occursLevelInterface
public java.util.Date getCreationDateTime()
throws OLAPException
getCreationDateTime in interface MetadataEntityInterfaceOLAPException
public java.util.Date getUpdateDateTime()
throws OLAPException
MetadataEntityInterface
getUpdateDateTime in interface MetadataEntityInterfaceOLAPException
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||