class ColumnDefaultValue
A class for holding a column default value.
Constants
TYPE_VALUE |
|
TYPE_EXPR |
|
Methods
__construct(string $value, string $type = null)
Creates a new DefaultValue object. |
||
string | getType() | |
setType(string $type) | ||
boolean |
isExpression()
Convenience method to indicate whether the value in this object is an expression (as opposed to simple value). |
|
string | getValue() | |
setValue(string $value) | ||
boolean |
equals(ColumnDefaultValue $other)
A method to compare if two Default values match |
Details
at line 39
public
__construct(string $value, string $type = null)
Creates a new DefaultValue object.
at line 51
public string
getType()
at line 59
public
setType(string $type)
at line 69
public boolean
isExpression()
Convenience method to indicate whether the value in this object is an expression (as opposed to simple value).
at line 77
public string
getValue()
at line 85
public
setValue(string $value)
at line 97
public boolean
equals(ColumnDefaultValue $other)
A method to compare if two Default values match