it.eng.spagobi.tools.importexport
Class MetadataAssociations

java.lang.Object
  extended by it.eng.spagobi.tools.importexport.MetadataAssociations

public class MetadataAssociations
extends java.lang.Object


Constructor Summary
MetadataAssociations()
           
 
Method Summary
 void clear()
          Clears all the inforamtion about associations.
 java.util.Map getBIObjAssociation()
          Gets the Map of associations between current and exported biobjects.
 java.util.Map getBIobjIDAssociation()
          Gets the Map of associations between current and exported biobject ids.
 java.util.Map getCheckAssociation()
          Gets the Map of associations between current and exported checks.
 java.util.Map getCheckIDAssociation()
          Gets the Map of associations between current and exported check ids.
 java.util.Map getDataSetIDAssociation()
          Gets the Map of associations between current and exported datasets.
 java.util.Map getDataSourceIDAssociation()
          Gets the Map of associations between current and exported datasources.
 java.util.Map getDomainAssociation()
          Gets the Map of associations between current and exported domains.
 java.util.Map getDomainIDAssociation()
          Gets the Map of associations between current and exported domain id.
 java.util.Map getEngineAssociation()
          Gets the Map of associations between current and exported engines.
 java.util.Map getEngineIDAssociation()
          Gets the Map of associations between current and exported engine ids.
 java.util.Map getFeaturesIDAssociation()
          Gets the Map of associations between current and exported features.
 java.util.Map getFunctAssociation()
          Gets the Map of associations between current and exported functionalities.
 java.util.Map getFunctIDAssociation()
          Gets the Map of associations between current and exported functionality ids.
 java.util.Map getLovAssociation()
          Gets the Map of associations between current and exported lovs.
 java.util.Map getLovIDAssociation()
          Gets the Map of associations between current and exported lovs ids.
 java.util.Map getMapIDAssociation()
          Gets the Map of associations between current and exported maps.
 java.util.Map getObjparAssociation()
          Gets the Map of associations between current and exported objpars.
 java.util.Map getObjparIDAssociation()
          Gets the Map of associations between current and exported objpar id.
 java.util.Map getParameterAssociation()
          Gets the Map of associations between current and exported parameters.
 java.util.Map getParameterIDAssociation()
          Gets the Map of associations between current and exported parameter ids.
 java.util.Map getParuseAssociation()
          Gets the Map of associations between current and exported parameter uses.
 java.util.Map getParuseIDAssociation()
          Gets the Map of associations between current and exported parameter use ids.
 java.util.Map getRoleAssociation()
          Gets the Map of associations between current and exported roles.
 java.util.Map getRoleIDAssociation()
          Gets the Map of associations between current and exported role ids.
 void insertCoupleBIObj(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of biobject ids into the associations.
 void insertCoupleBIObj(SbiObjects exp, SbiObjects curr)
          Inserts a couple of biobjects into the associations.
 void insertCoupleCheck(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of check ids into the associations.
 void insertCoupleCheck(SbiChecks exp, SbiChecks curr)
          Inserts a couple of checks into the associations.
 void insertCoupleDataSets(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of dataset id into the associations.
 void insertCoupleDataSources(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of datasource id into the associations.
 void insertCoupleDomain(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of domain id into the associations.
 void insertCoupleDomain(SbiDomains exp, SbiDomains curr)
          Inserts a couple of domains into the associations.
 void insertCoupleEngine(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of engine ids into the associations.
 void insertCoupleEngine(SbiEngines exp, SbiEngines curr)
          Inserts a couple of engines into the associations.
 void insertCoupleFeatures(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of features id into the associations.
 void insertCoupleFunct(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of functionality ids into the associations.
 void insertCoupleFunct(SbiFunctions exp, SbiFunctions curr)
          Inserts a couple of functionalities into the associations.
 void insertCoupleLov(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of lov ids into the associations.
 void insertCoupleLov(SbiLov exp, SbiLov curr)
          Inserts a couple of lovs into the associations.
 void insertCoupleMaps(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of maps id into the associations.
 void insertCoupleObjpar(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of objpar id into the associations.
 void insertCoupleObjpar(SbiObjPar exp, SbiObjPar curr)
          Inserts a couple of objpar into the associations.
 void insertCoupleParameter(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of parameter ids into the associations.
 void insertCoupleParameter(SbiParameters exp, SbiParameters curr)
          Inserts a couple of parameters into the associations.
 void insertCoupleParuse(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of parameter use ids into the associations.
 void insertCoupleParuse(SbiParuse exp, SbiParuse curr)
          Inserts a couple of parameter uses into the associations.
 void insertCoupleRole(java.lang.Integer exp, java.lang.Integer curr)
          Inserts a couple of role ids into the associations.
 void insertCoupleRole(SbiExtRoles exp, SbiExtRoles curr)
          Inserts a couple of roles into the associations.
 boolean isBIObjAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isCheckAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isEmpty()
          Checks if the metadata association is empty.
 boolean isEngineAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isFunctAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isLovAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isParameterAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isParuseAssEmpty()
          Checks if Associations for the specific object are empty.
 boolean isRoleAssEmpty()
          Checks if Associations for the specific object are empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataAssociations

public MetadataAssociations()
Method Detail

isEmpty

public boolean isEmpty()
Checks if the metadata association is empty.

Returns:
boolean, true is associations are empty false otherwise

clear

public void clear()
Clears all the inforamtion about associations.


isParameterAssEmpty

public boolean isParameterAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isRoleAssEmpty

public boolean isRoleAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isBIObjAssEmpty

public boolean isBIObjAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isLovAssEmpty

public boolean isLovAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isFunctAssEmpty

public boolean isFunctAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isEngineAssEmpty

public boolean isEngineAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isCheckAssEmpty

public boolean isCheckAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

isParuseAssEmpty

public boolean isParuseAssEmpty()
Checks if Associations for the specific object are empty.

Returns:
boolean, true if associations are empty, false otherwise

getParameterIDAssociation

public java.util.Map getParameterIDAssociation()
Gets the Map of associations between current and exported parameter ids.

Returns:
Map of assocaitions

getParameterAssociation

public java.util.Map getParameterAssociation()
Gets the Map of associations between current and exported parameters.

Returns:
Map of associations

insertCoupleParameter

public void insertCoupleParameter(SbiParameters exp,
                                  SbiParameters curr)
Inserts a couple of parameters into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleParameter

public void insertCoupleParameter(java.lang.Integer exp,
                                  java.lang.Integer curr)
Inserts a couple of parameter ids into the associations.

Parameters:
exp - the exp
curr - the curr

getRoleIDAssociation

public java.util.Map getRoleIDAssociation()
Gets the Map of associations between current and exported role ids.

Returns:
Map of associations

getRoleAssociation

public java.util.Map getRoleAssociation()
Gets the Map of associations between current and exported roles.

Returns:
Map of associations

insertCoupleRole

public void insertCoupleRole(SbiExtRoles exp,
                             SbiExtRoles curr)
Inserts a couple of roles into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleRole

public void insertCoupleRole(java.lang.Integer exp,
                             java.lang.Integer curr)
Inserts a couple of role ids into the associations.

Parameters:
exp - the exp
curr - the curr

getBIobjIDAssociation

public java.util.Map getBIobjIDAssociation()
Gets the Map of associations between current and exported biobject ids.

Returns:
Map of associations

getBIObjAssociation

public java.util.Map getBIObjAssociation()
Gets the Map of associations between current and exported biobjects.

Returns:
Map of associations

insertCoupleBIObj

public void insertCoupleBIObj(SbiObjects exp,
                              SbiObjects curr)
Inserts a couple of biobjects into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleBIObj

public void insertCoupleBIObj(java.lang.Integer exp,
                              java.lang.Integer curr)
Inserts a couple of biobject ids into the associations.

Parameters:
exp - the exp
curr - the curr

getLovIDAssociation

public java.util.Map getLovIDAssociation()
Gets the Map of associations between current and exported lovs ids.

Returns:
Map of associations

getLovAssociation

public java.util.Map getLovAssociation()
Gets the Map of associations between current and exported lovs.

Returns:
Map of associations

insertCoupleLov

public void insertCoupleLov(SbiLov exp,
                            SbiLov curr)
Inserts a couple of lovs into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleLov

public void insertCoupleLov(java.lang.Integer exp,
                            java.lang.Integer curr)
Inserts a couple of lov ids into the associations.

Parameters:
exp - the exp
curr - the curr

getFunctIDAssociation

public java.util.Map getFunctIDAssociation()
Gets the Map of associations between current and exported functionality ids.

Returns:
Map of associations

getFunctAssociation

public java.util.Map getFunctAssociation()
Gets the Map of associations between current and exported functionalities.

Returns:
Map of associations

insertCoupleFunct

public void insertCoupleFunct(SbiFunctions exp,
                              SbiFunctions curr)
Inserts a couple of functionalities into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleFunct

public void insertCoupleFunct(java.lang.Integer exp,
                              java.lang.Integer curr)
Inserts a couple of functionality ids into the associations.

Parameters:
exp - the exp
curr - the curr

getEngineIDAssociation

public java.util.Map getEngineIDAssociation()
Gets the Map of associations between current and exported engine ids.

Returns:
Map of associations

getEngineAssociation

public java.util.Map getEngineAssociation()
Gets the Map of associations between current and exported engines.

Returns:
Map of associations

insertCoupleEngine

public void insertCoupleEngine(SbiEngines exp,
                               SbiEngines curr)
Inserts a couple of engines into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleEngine

public void insertCoupleEngine(java.lang.Integer exp,
                               java.lang.Integer curr)
Inserts a couple of engine ids into the associations.

Parameters:
exp - the exp
curr - the curr

getCheckIDAssociation

public java.util.Map getCheckIDAssociation()
Gets the Map of associations between current and exported check ids.

Returns:
Map of associations

getCheckAssociation

public java.util.Map getCheckAssociation()
Gets the Map of associations between current and exported checks.

Returns:
Map of associations

insertCoupleCheck

public void insertCoupleCheck(SbiChecks exp,
                              SbiChecks curr)
Inserts a couple of checks into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleCheck

public void insertCoupleCheck(java.lang.Integer exp,
                              java.lang.Integer curr)
Inserts a couple of check ids into the associations.

Parameters:
exp - the exp
curr - the curr

getParuseIDAssociation

public java.util.Map getParuseIDAssociation()
Gets the Map of associations between current and exported parameter use ids.

Returns:
Map of associations

getParuseAssociation

public java.util.Map getParuseAssociation()
Gets the Map of associations between current and exported parameter uses.

Returns:
Map of associations

insertCoupleParuse

public void insertCoupleParuse(SbiParuse exp,
                               SbiParuse curr)
Inserts a couple of parameter uses into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleParuse

public void insertCoupleParuse(java.lang.Integer exp,
                               java.lang.Integer curr)
Inserts a couple of parameter use ids into the associations.

Parameters:
exp - the exp
curr - the curr

getDomainIDAssociation

public java.util.Map getDomainIDAssociation()
Gets the Map of associations between current and exported domain id.

Returns:
Map of associations

getDomainAssociation

public java.util.Map getDomainAssociation()
Gets the Map of associations between current and exported domains.

Returns:
Map of associations

insertCoupleDomain

public void insertCoupleDomain(SbiDomains exp,
                               SbiDomains curr)
Inserts a couple of domains into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleDomain

public void insertCoupleDomain(java.lang.Integer exp,
                               java.lang.Integer curr)
Inserts a couple of domain id into the associations.

Parameters:
exp - the exp
curr - the curr

getObjparIDAssociation

public java.util.Map getObjparIDAssociation()
Gets the Map of associations between current and exported objpar id.

Returns:
Map of associations

getObjparAssociation

public java.util.Map getObjparAssociation()
Gets the Map of associations between current and exported objpars.

Returns:
Map of associations

insertCoupleObjpar

public void insertCoupleObjpar(SbiObjPar exp,
                               SbiObjPar curr)
Inserts a couple of objpar into the associations.

Parameters:
exp - the exp
curr - the curr

insertCoupleObjpar

public void insertCoupleObjpar(java.lang.Integer exp,
                               java.lang.Integer curr)
Inserts a couple of objpar id into the associations.

Parameters:
exp - the exp
curr - the curr

getDataSourceIDAssociation

public java.util.Map getDataSourceIDAssociation()
Gets the Map of associations between current and exported datasources.

Returns:
Map of associations

insertCoupleDataSources

public void insertCoupleDataSources(java.lang.Integer exp,
                                    java.lang.Integer curr)
Inserts a couple of datasource id into the associations.

Parameters:
exp - the exp
curr - the curr

getDataSetIDAssociation

public java.util.Map getDataSetIDAssociation()
Gets the Map of associations between current and exported datasets.

Returns:
Map of associations

insertCoupleDataSets

public void insertCoupleDataSets(java.lang.Integer exp,
                                 java.lang.Integer curr)
Inserts a couple of dataset id into the associations.

Parameters:
exp - the exp
curr - the curr

getMapIDAssociation

public java.util.Map getMapIDAssociation()
Gets the Map of associations between current and exported maps.

Returns:
Map of associations

insertCoupleMaps

public void insertCoupleMaps(java.lang.Integer exp,
                             java.lang.Integer curr)
Inserts a couple of maps id into the associations.

Parameters:
exp - the exp
curr - the curr

getFeaturesIDAssociation

public java.util.Map getFeaturesIDAssociation()
Gets the Map of associations between current and exported features.

Returns:
Map of associations

insertCoupleFeatures

public void insertCoupleFeatures(java.lang.Integer exp,
                                 java.lang.Integer curr)
Inserts a couple of features id into the associations.

Parameters:
exp - the exp
curr - the curr