|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.geo.dataset.provider.Hierarchy
public class Hierarchy
The Class Hierarchy.
Nested Class Summary | |
---|---|
static class |
Hierarchy.Level
The Class Level. |
Constructor Summary | |
---|---|
Hierarchy(java.lang.String name)
Instantiates a new hierarchy. |
|
Hierarchy(java.lang.String name,
java.lang.String table)
Instantiates a new hierarchy. |
Method Summary | |
---|---|
void |
addLevel(Hierarchy.Level level)
Adds the level. |
Hierarchy.Level |
getLevel(java.lang.String levelName)
Gets the level. |
java.util.Set |
getLevelNames()
Gets the level names. |
java.util.List |
getLevels()
Gets the levels. |
java.lang.String |
getName()
Gets the name. |
java.util.List |
getSublevels(java.lang.String levelName)
Gets the sublevels. |
java.lang.String |
getTable()
Gets the table. |
java.lang.String |
getType()
Gets the type. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setTable(java.lang.String table)
Sets the table. |
void |
setType(java.lang.String type)
Sets the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hierarchy(java.lang.String name)
name
- the namepublic Hierarchy(java.lang.String name, java.lang.String table)
name
- the nametable
- the tableMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the new namepublic java.lang.String getTable()
public void setTable(java.lang.String table)
table
- the new tablepublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the new typepublic void addLevel(Hierarchy.Level level)
level
- the levelpublic Hierarchy.Level getLevel(java.lang.String levelName)
levelName
- the level name
public java.util.List getLevels()
public java.util.List getSublevels(java.lang.String levelName)
levelName
- the level name
public java.util.Set getLevelNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |