this.wildcardEscapingEnabled = wildcardEscapingEnabled;
}
public XmlElement toXmlElement() {
XmlElement xmlElement = new XmlElement("table"); //$NON-NLS-1$
xmlElement.addAttribute(new Attribute("tableName", tableName)); //$NON-NLS-1$
if (stringHasValue(catalog)) {
xmlElement.addAttribute(new Attribute("catalog", catalog)); //$NON-NLS-1$
}
if (stringHasValue(schema)) {
xmlElement.addAttribute(new Attribute("schema", schema)); //$NON-NLS-1$
}
if (stringHasValue(alias)) {
xmlElement.addAttribute(new Attribute("alias", alias)); //$NON-NLS-1$
}
if (stringHasValue(domainObjectName)) {
xmlElement.addAttribute(new Attribute("domainObjectName", domainObjectName)); //$NON-NLS-1$
}
if (!insertStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableInsert", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!selectByPrimaryKeyStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableSelectByPrimaryKey", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!selectByExampleStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableSelectByExample", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!updateByPrimaryKeyStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableUpdateByPrimaryKey", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!deleteByPrimaryKeyStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableDeleteByPrimaryKey", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!deleteByExampleStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableDeleteByExample", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!countByExampleStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableCountByExample", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (!updateByExampleStatementEnabled) {
xmlElement.addAttribute(new Attribute("enableUpdateByExample", "false")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (stringHasValue(selectByPrimaryKeyQueryId)) {
xmlElement.addAttribute(new Attribute("selectByPrimaryKeyQueryId", selectByPrimaryKeyQueryId)); //$NON-NLS-1$
}
if (stringHasValue(selectByExampleQueryId)) {
xmlElement.addAttribute(new Attribute("selectByExampleQueryId", selectByExampleQueryId)); //$NON-NLS-1$
}
if (configuredModelType != null) {
xmlElement.addAttribute(new Attribute("modelType", configuredModelType)); //$NON-NLS-1$
}
if (wildcardEscapingEnabled) {
xmlElement.addAttribute(new Attribute("escapeWildcards", "true")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (isAllColumnDelimitingEnabled) {
xmlElement.addAttribute(new Attribute("delimitAllColumns", "true")); //$NON-NLS-1$ //$NON-NLS-2$
}
if (delimitIdentifiers) {
xmlElement.addAttribute(new Attribute("delimitIdentifiers", "true")); //$NON-NLS-1$ //$NON-NLS-2$
}
addPropertyXmlElements(xmlElement);
if (generatedKey != null) {