public class MConstraint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MConstraint.PK |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHECK_CONSTRAINT |
static int |
DEFAULT_CONSTRAINT |
static int |
FOREIGN_KEY_CONSTRAINT |
static int |
NOT_NULL_CONSTRAINT |
static int |
PRIMARY_KEY_CONSTRAINT |
static int |
UNIQUE_CONSTRAINT |
| Constructor and Description |
|---|
MConstraint() |
MConstraint(String constraintName,
int position,
int constraintType,
Integer deleteRule,
Integer updateRule,
int enableRelyValidate,
MTable parentTable,
MTable childTable,
MColumnDescriptor parentColumn,
MColumnDescriptor childColumn,
Integer childIntegerIndex,
Integer parentIntegerIndex) |
MConstraint(String constraintName,
int position,
int constraintType,
Integer deleteRule,
Integer updateRule,
int enableRelyValidate,
MTable parentTable,
MTable childTable,
MColumnDescriptor parentColumn,
MColumnDescriptor childColumn,
Integer childIntegerIndex,
Integer parentIntegerIndex,
String defaultValue) |
public static final int PRIMARY_KEY_CONSTRAINT
public static final int FOREIGN_KEY_CONSTRAINT
public static final int UNIQUE_CONSTRAINT
public static final int NOT_NULL_CONSTRAINT
public static final int DEFAULT_CONSTRAINT
public static final int CHECK_CONSTRAINT
public MConstraint()
public MConstraint(String constraintName, int position, int constraintType, Integer deleteRule, Integer updateRule, int enableRelyValidate, MTable parentTable, MTable childTable, MColumnDescriptor parentColumn, MColumnDescriptor childColumn, Integer childIntegerIndex, Integer parentIntegerIndex)
public MConstraint(String constraintName, int position, int constraintType, Integer deleteRule, Integer updateRule, int enableRelyValidate, MTable parentTable, MTable childTable, MColumnDescriptor parentColumn, MColumnDescriptor childColumn, Integer childIntegerIndex, Integer parentIntegerIndex, String defaultValue)
public String getConstraintName()
public void setConstraintName(String constraintName)
public int getPosition()
public void setPosition(int position)
public int getConstraintType()
public void setConstraintType(int constraintType)
public Integer getDeleteRule()
public void setDeleteRule(Integer deleteRule)
public Integer getUpdateRule()
public void setUpdateRule(Integer updateRule)
public MTable getParentTable()
public void setParentTable(MTable parentTable)
public MTable getChildTable()
public void setChildTable(MTable childTable)
public MColumnDescriptor getParentColumn()
public void setParentColumn(MColumnDescriptor parentColumn)
public MColumnDescriptor getChildColumn()
public void setChildColumn(MColumnDescriptor childColumn)
public Integer getChildIntegerIndex()
public void setChildIntegerIndex(Integer childIntegerIndex)
public Integer getParentIntegerIndex()
public void setParentIntegerIndex(Integer parentIntegerIndex)
public int getEnableValidateRely()
public void setEnableValidateRely(int enableValidateRely)
public String getDefaultValue()
public void setDefaultValue(String defaultValue)
Copyright © 2024 The Apache Software Foundation. All rights reserved.