@Test public void testFindCapitalizedDataDictionaryEntry() { PMMLDataField field = pmmlUnit.findDataDictionaryEntry(CAPITALIZED_DICTIONARY_ENTRY); assertNotNull(field); }
@Override public PMMLDataField findDataDictionaryEntry(String fieldName) { PMMLDataField field = this.dataDictionaryMap.get(fieldName); if (field == null) { for (Iterator<PMMLDataField> iter = this.dataDictionaryMap.values().iterator(); iter.hasNext() && field == null;) { PMMLDataField fld = iter.next(); if (fld != null && fld.getRawDataField() != null && fld.getRawDataField().getName().equals(fieldName)) { field = fld; } } } return field; }
PMML4UnitImpl implements PMML4Unit { @Override public PMMLDataField findDataDictionaryEntry(String fieldName) { PMMLDataField field = this.dataDictionaryMap.get(fieldName); if (field == null) { for (Iterator<PMMLDataField> iter = this.dataDictionaryMap.values().iterator(); iter.hasNext() && field == null;) { PMMLDataField fld = iter.next(); if (fld != null && fld.getRawDataField() != null && fld.getRawDataField().getName().equals(fieldName)) { field = fld; } } } return field; } }
PMML4UnitImpl implements PMML4Unit { @Override public PMMLDataField findDataDictionaryEntry(String fieldName) { PMMLDataField field = this.dataDictionaryMap.get(fieldName); if (field == null) { for (Iterator<PMMLDataField> iter = this.dataDictionaryMap.values().iterator(); iter.hasNext() && field == null;) { PMMLDataField fld = iter.next(); if (fld != null && fld.getRawDataField() != null && fld.getRawDataField().getName().equals(fieldName)) { field = fld; } } } return field; } PMML4UnitImpl(PMML rawPmml);  PMML4UnitImpl(String pmmlSourcePath); }
PMML4UnitImpl implements PMML4Unit { @Override public PMMLDataField findDataDictionaryEntry(String fieldName) { PMMLDataField field = this.dataDictionaryMap.get(fieldName); if (field == null) { for (Iterator<PMMLDataField> iter = this.dataDictionaryMap.values().iterator(); iter.hasNext() && field == null;) { PMMLDataField fld = iter.next(); if (fld != null && fld.getRawDataField() != null && fld.getRawDataField().getName().equals(fieldName)) { field = fld; } } } return field; } PMML4UnitImpl(PMML rawPmml);  PMML4UnitImpl(String pmmlSourcePath); @Override PMML getRawPMML(); List<MiningField> getMiningFieldsForModel(String modelId); Map<String, List<MiningField>> getMiningFields(); Map<String, PMML4Model> getModelsMap(); @Override Map<String, PMML4Model> getRootModels(); @Override Miningmodel getRootMiningModel(); Map<String, PMML4Model> getChildModels(String parentModelId); @Override Map<String, PMML4Model> getModels(PMML4ModelType type, PMML4Model parent); @Override PMML4Model getRootModel(); @Override boolean containsMiningModel(); @Override List<PMML4Model> getModels(); @Override List<PMMLDataField> getDataDictionaryFields(); Map<String, PMMLDataField> getDataDictionaryMap(); @Override String getRootPackage(); Map<String, String> getModelPackageNames(); @Override String getModelExternalMiningBeansRules(String modelName); @Override PMMLDataField findDataDictionaryEntry(String fieldName); }
PMML4UnitImpl implements PMML4Unit { @Override public PMMLDataField findDataDictionaryEntry(String fieldName) { PMMLDataField field = this.dataDictionaryMap.get(fieldName); if (field == null) { for (Iterator<PMMLDataField> iter = this.dataDictionaryMap.values().iterator(); iter.hasNext() && field == null;) { PMMLDataField fld = iter.next(); if (fld != null && fld.getRawDataField() != null && fld.getRawDataField().getName().equals(fieldName)) { field = fld; } } } return field; } PMML4UnitImpl(PMML rawPmml);  PMML4UnitImpl(String pmmlSourcePath); @Override PMML getRawPMML(); List<MiningField> getMiningFieldsForModel(String modelId); Map<String, List<MiningField>> getMiningFields(); Map<String, PMML4Model> getModelsMap(); @Override Map<String, PMML4Model> getRootModels(); @Override Miningmodel getRootMiningModel(); Map<String, PMML4Model> getChildModels(String parentModelId); @Override Map<String, PMML4Model> getModels(PMML4ModelType type, PMML4Model parent); @Override PMML4Model getRootModel(); @Override boolean containsMiningModel(); @Override List<PMML4Model> getModels(); @Override List<PMMLDataField> getDataDictionaryFields(); Map<String, PMMLDataField> getDataDictionaryMap(); @Override String getRootPackage(); Map<String, String> getModelPackageNames(); @Override String getModelExternalMiningBeansRules(String modelName); @Override PMMLDataField findDataDictionaryEntry(String fieldName);  }