es.aeat.eett.plugins.map
Class DataMapImp
java.lang.Object
es.aeat.eett.plugins.map.DataMapImp
- All Implemented Interfaces:
- DataMap
- public class DataMapImp
- extends java.lang.Object
- implements DataMap
- Author:
- f00992
Constructor Summary |
(package private) |
DataMapImp()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameHierarchy
private java.lang.String nameHierarchy
hash_maps
private java.util.Hashtable[] hash_maps
namesLevels
private java.lang.String[] namesLevels
nameCapas
private java.lang.String[] nameCapas
numCapas
private int numCapas
activeLevel
private int activeLevel
format
private mondrian.util.Format format
horizontal
private boolean horizontal
DataMapImp
DataMapImp()
inizialize
public void inizialize(java.lang.String nameHierarchy,
java.lang.String[] namesLevels,
java.util.Hashtable[] hash_maps)
- Hay que llamar a esta funcion cada vez que cambie el esquema.
hash_maps[i] Tiene que contener el mapa correspondiente a namesLevels[i].
- Specified by:
inizialize
in interface DataMap
- Parameters:
nameHierarchy
- namesLevels
- hash_maps
-
getZone
public Zone getZone(java.lang.String key)
throws java.lang.Exception
- Specified by:
getZone
in interface DataMap
- Returns:
- Zone del mapa correspondiente a key
- Throws:
java.lang.Exception
getActiveLevel
public int getActiveLevel()
- Specified by:
getActiveLevel
in interface DataMap
- Returns:
- Returns the activeLevel.
getNameCapas
public java.lang.String[] getNameCapas()
- Specified by:
getNameCapas
in interface DataMap
- Returns:
- Returns the nameCapas.
getNumCapas
public int getNumCapas()
- Specified by:
getNumCapas
in interface DataMap
- Returns:
- Returns the numCapas.
canShowMap
public boolean canShowMap()
- Specified by:
canShowMap
in interface DataMap
- Returns:
- true si se puede mostrar un mapa;
isGeographicDim
private boolean isGeographicDim(com.tonbeller.jpivot.olap.model.Member member)
isGeographicDim
private boolean isGeographicDim()
throws java.lang.Exception
- Modifica horizontal y activeLevel.
- Returns:
- true si es una dimension geografica;
- Throws:
java.lang.Exception
updateActiveLevel
private void updateActiveLevel(com.tonbeller.jpivot.olap.model.Member m)
getStringValueInPos
private java.lang.String getStringValueInPos(int pos)
throws java.lang.Exception
- Throws:
java.lang.Exception
isMemberCandidato
private boolean isMemberCandidato(com.tonbeller.jpivot.olap.model.Member m)
getUname
private java.lang.String getUname(com.tonbeller.jpivot.olap.model.Position position)
JRubik v0.6