public class DropRelationshipToDb extends AbstractToDbToken
| Constructor and Description |
|---|
DropRelationshipToDb(DbEntity entity,
DbRelationship rel) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MergerToken o) |
MergerToken |
createReverse(MergerFactory factory)
Create a token with the reverse direction.
|
List<String> |
createSql(DbAdapter adapter) |
DbEntity |
getEntity() |
String |
getFkName() |
protected QuotingStrategy |
getQuotingStrategy(DbAdapter adapter) |
DbRelationship |
getRelationship() |
String |
getTokenName() |
String |
getTokenValue() |
execute, executeSql, getDirection, toStringpublic DropRelationshipToDb(DbEntity entity, DbRelationship rel)
public String getFkName()
public List<String> createSql(DbAdapter adapter)
createSql in class AbstractToDbTokenpublic MergerToken createReverse(MergerFactory factory)
MergerTokenNot all tokens are reversible.
public String getTokenName()
public String getTokenValue()
getTokenValue in interface MergerTokenpublic DbRelationship getRelationship()
public DbEntity getEntity()
protected QuotingStrategy getQuotingStrategy(DbAdapter adapter)
public int compareTo(MergerToken o)
Copyright © 2001–2018 Apache Cayenne. All rights reserved.