Constraint

org.beangle.data.jdbc.meta.Constraint
See theConstraint companion object
class Constraint(var table: Table, var name: Identifier) extends Ordered[Constraint], Cloneable

Table Constraint Metadata

Attributes

Companion
object
Graph
Supertypes
trait Cloneable
trait Ordered[Constraint]
trait Comparable[Constraint]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ForeignKey
class PrimaryKey
class UniqueKey

Members list

Value members

Concrete methods

def addColumn(column: Identifier): Unit
def attach(engine: Engine): Unit
override def clone(): Constraint

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
Object
def columnNames: List[String]
override def compare(o: Constraint): Int

Attributes

Definition Classes
Ordered
def literalName: String
def toCase(lower: Boolean): Unit

Inherited methods

def <(that: Constraint): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Constraint): Boolean

Attributes

Inherited from:
Ordered
def >(that: Constraint): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Constraint): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Constraint): Int

Attributes

Inherited from:
Ordered

Concrete fields

var columns: ListBuffer[Identifier]
var enabled: Boolean
var table: Table