it.eng.qbe.geo.configuration
Class DatamartProviderConfiguration.Hierarchy

java.lang.Object
  extended by it.eng.qbe.geo.configuration.DatamartProviderConfiguration.Hierarchy
Enclosing class:
DatamartProviderConfiguration

public static class DatamartProviderConfiguration.Hierarchy
extends java.lang.Object

The Class Hierarchy.


Nested Class Summary
static class DatamartProviderConfiguration.Hierarchy.Level
          The Class Level.
 
Constructor Summary
DatamartProviderConfiguration.Hierarchy(java.lang.String name)
          Instantiates a new hierarchy.
DatamartProviderConfiguration.Hierarchy(java.lang.String name, java.lang.String table)
          Instantiates a new hierarchy.
 
Method Summary
 void addLevel(DatamartProviderConfiguration.Hierarchy.Level level)
          Adds the level.
 void clearLevels()
          Clear levels.
 DatamartProviderConfiguration.Hierarchy.Level getLevel(java.lang.String levelName)
          Gets the level.
 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.
 boolean isDefaultHierarchy()
          Checks if is default hierarchy.
 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.
 java.lang.String toXml()
          To xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatamartProviderConfiguration.Hierarchy

public DatamartProviderConfiguration.Hierarchy(java.lang.String name)
Instantiates a new hierarchy.

Parameters:
name - the name

DatamartProviderConfiguration.Hierarchy

public DatamartProviderConfiguration.Hierarchy(java.lang.String name,
                                               java.lang.String table)
Instantiates a new hierarchy.

Parameters:
name - the name
table - the table
Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getTable

public java.lang.String getTable()
Gets the table.

Returns:
the table

setTable

public void setTable(java.lang.String table)
Sets the table.

Parameters:
table - the new table

getType

public java.lang.String getType()
Gets the type.

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the type.

Parameters:
type - the new type

isDefaultHierarchy

public boolean isDefaultHierarchy()
Checks if is default hierarchy.

Returns:
true, if is default hierarchy

clearLevels

public void clearLevels()
Clear levels.


addLevel

public void addLevel(DatamartProviderConfiguration.Hierarchy.Level level)
Adds the level.

Parameters:
level - the level

getLevel

public DatamartProviderConfiguration.Hierarchy.Level getLevel(java.lang.String levelName)
Gets the level.

Parameters:
levelName - the level name
Returns:
the level

getLevels

public java.util.List getLevels()
Gets the levels.

Returns:
the levels

getSublevels

public java.util.List getSublevels(java.lang.String levelName)
Gets the sublevels.

Parameters:
levelName - the level name
Returns:
the sublevels

toXml

public java.lang.String toXml()
To xml.

Returns:
the string