Package org.apache.cayenne.dba
Class DefaultQuotingStrategy
java.lang.Object
org.apache.cayenne.dba.DefaultQuotingStrategy
- All Implemented Interfaces:
QuotingStrategy
- Since:
- 4.0 this is a top-level class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionquotedFullyQualifiedName(DbEntity entity) Builds a fully qualified name from catalog, schema, name parts of DbEntity, enclosing them in quotations according to this strategy algorithm.voidquotedIdentifier(DataMap dataMap, CharSequence identifier, Appendable appender) Append quoted identifier to provided appenderquotedIdentifier(DataMap dataMap, String... identifierParts) quotedName(DbAttribute attribute) quotedSourceName(DbJoin join) quotedTargetName(DbJoin join) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cayenne.dba.QuotingStrategy
quotedIdentifier, quotedIdentifier
-
Constructor Details
-
DefaultQuotingStrategy
-
-
Method Details
-
quotedFullyQualifiedName
Description copied from interface:QuotingStrategyBuilds a fully qualified name from catalog, schema, name parts of DbEntity, enclosing them in quotations according to this strategy algorithm. Analog of "quotedIdentifier(entity.getCatalog(), entity.getSchema(), entity.getName())".- Specified by:
quotedFullyQualifiedNamein interfaceQuotingStrategy
-
quotedName
- Specified by:
quotedNamein interfaceQuotingStrategy
-
quotedSourceName
- Specified by:
quotedSourceNamein interfaceQuotingStrategy
-
quotedTargetName
- Specified by:
quotedTargetNamein interfaceQuotingStrategy
-
quotedIdentifier
Description copied from interface:QuotingStrategyAppend quoted identifier to provided appender- Specified by:
quotedIdentifierin interfaceQuotingStrategy- Since:
- 4.2
-
quotedIdentifier
- Specified by:
quotedIdentifierin interfaceQuotingStrategy
-