public String generateElementAlias(String originalElementName) { NamingConventionTransformer nct = getNextTransformer(); if (nct == null) { return originalElementName; } else { return nct.generateElementAlias(originalElementName); } }
public String generateSchemaAlias(String tableName) { NamingConventionTransformer nct = getNextTransformer(); if (nct == null) { return tableName; } else { return nct.generateSchemaAlias(tableName); } }
public String getOptimisticLockingField() { NamingConventionTransformer nct = getNextTransformer(); if (nct == null) { return DEFAULT_OPTIMISTIC_LOCKING_FIELD; } else { if (nct.styleForElement(DEFAULT_OPTIMISTIC_LOCKING_FIELD) == NONE) { return null; } return nct.getOptimisticLockingField(); } }