contextRef.setPersistenceUnitName(textList.get(2).getText());
contextRef.setPattern(null);
}
else {
contextRef.setPersistenceUnitName(null);
Pattern pattern = contextRef.getPattern();
if (pattern == null) {
pattern = objectFactory.createPattern();
}
pattern.setName(textList.get(3).getText());
pattern.setGroupId(textList.get(4).getText());
pattern.setArtifactId(textList.get(5).getText());
pattern.setVersion(textList.get(6).getText());
pattern.setModule(textList.get(7).getText());
contextRef.setPattern(pattern);
}
}
else if (element.getText().equals(elementTypes[PROPERTY])) {
if (isEmpty(textList.get(0).getText())) {