public class DataProcessor
extends java.lang.Object
| Constructor and Description |
|---|
DataProcessor(NetActCMDumpCollectorProperties collProps)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
extractParentName(java.lang.String entityName,
java.lang.String entityClass)
Extracts the parent name of a given object class
|
boolean |
isBSC(java.lang.String addressSpace)
Checks if a given address space is of BSC type
|
boolean |
isBSCM(java.lang.String addressSpace)
Checks if a given address space is of MGW type
|
boolean |
isBTS(java.lang.String addressSpace)
Checks if a given address space is of BTS type
|
boolean |
isBTSCell(java.lang.String addressSpace)
Checks if a given address space is of GSM Cell type
|
boolean |
isIPNO(java.lang.String addressSpace)
Checks if a given address space is of WCELL type
|
boolean |
isLNBTS(java.lang.String addressSpace)
Checks if a given address space is of LNBTS type
|
boolean |
isLNCEL(java.lang.String addressSpace)
Checks if a given address space is of LNCEL type
|
boolean |
isMGW(java.lang.String addressSpace)
Checks if a given address space is of MGW type
|
boolean |
isMSC(java.lang.String addressSpace)
Checks if a given address space is of MSC type
|
boolean |
isPCU(java.lang.String addressSpace)
Checks if a given address space is of PCU type
|
boolean |
isRNC(java.lang.String addressSpace)
Checks if a given address space is of RNC type
|
boolean |
isRNCM(java.lang.String addressSpace)
Checks if a given address space is of RNCM type
|
boolean |
isSGSN(java.lang.String addressSpace)
Checks if a given address space is of SGSN type
|
boolean |
isTRX(java.lang.String addressSpace)
Checks if a given address space is of TRX type
|
boolean |
isWBTS(java.lang.String addressSpace)
Checks if a given address space is of WBTS type
|
boolean |
isWCELL(java.lang.String addressSpace)
Checks if a given address space is of WCELL type
|
void |
loadProperties() |
boolean |
processBTS(XMLEntity btsEntity,
CollectorDataStore dataStore,
int dataSourceId,
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult)
Processes a given BTS XMLEntity and create all the BTS related objects in
datastore
|
boolean |
processPCU(XMLEntity pcuEntity,
CollectorDataStore dataStore,
int dataSourceId,
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult)
Processes a given PCU XMLEntity and create all the PCU related objects in
datastore
|
boolean |
processSGSN(XMLEntity sgsnEntity,
CollectorDataStore dataStore,
int dataSourceId,
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult)
Processes a given SGSN XMLEntity and create all the SGSN related objects
in datastore
|
boolean |
processWBTS(XMLEntity wbtsEntity,
CollectorDataStore dataStore,
int dataSourceId,
java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult)
Processes a given WBTS XMLEntity and create all the WBTS related objects
in datastore
|
public DataProcessor(NetActCMDumpCollectorProperties collProps)
collProps - NetActCMDumpCollectorProperties instancepublic java.lang.String extractParentName(java.lang.String entityName,
java.lang.String entityClass)
Full - name of the entityEntity - class typepublic boolean isBSC(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isBSCM(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isBTS(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isBTSCell(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isIPNO(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isLNBTS(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isLNCEL(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isMGW(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isMSC(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isPCU(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isRNC(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isRNCM(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isSGSN(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isTRX(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isWBTS(java.lang.String addressSpace)
addressSpace - The address space to checkpublic boolean isWCELL(java.lang.String addressSpace)
addressSpace - The address space to checkpublic void loadProperties()
public boolean processBTS(XMLEntity btsEntity, CollectorDataStore dataStore, int dataSourceId, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult) throws CollectorException
btsEntity - dataStore - dataSourceId - parserResult - CollectorExceptionpublic boolean processPCU(XMLEntity pcuEntity, CollectorDataStore dataStore, int dataSourceId, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult) throws CollectorException
pcuEntity - dataStore - dataSourceId - parserResult - CollectorExceptionpublic boolean processSGSN(XMLEntity sgsnEntity, CollectorDataStore dataStore, int dataSourceId, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult) throws CollectorException
sgsnEntity - dataStore - dataSourceId - parserResult - CollectorExceptionpublic boolean processWBTS(XMLEntity wbtsEntity, CollectorDataStore dataStore, int dataSourceId, java.util.concurrent.ConcurrentHashMap<java.lang.String,java.util.concurrent.ConcurrentHashMap<java.lang.String,XMLEntity>> parserResult) throws CollectorException
wbtsEntity - dataStore - dataSourceId - parserResult - CollectorException