Doctrine\DBAL\Schema\Sequence
Sequence Structure
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class Sequence
extends AbstractAsset
{
- // members
- protected integer $_allocationSize;
- protected integer $_initialValue;
- // Inherited members from AbstractAsset
- protected string $_name;
- protected string $_namespace;
- protected bool $_quoted;
- // methods
- public void __construct()
- public void getAllocationSize()
- public void getInitialValue()
- public void setAllocationSize()
- public void setInitialValue()
- public bool isAutoIncrementsFor()
- public void visit()
- // Inherited methods from AbstractAsset
- protected void _setName()
- public bool isInDefaultNamespace()
- public string getNamespaceName()
- public string getShortestName()
- public string getFullQualifiedName()
- public bool isQuoted()
- protected bool isIdentifierQuoted()
- protected string trimQuotes()
- public string getName()
- public string getQuotedName()
- protected string _generateIdentifierName()
Hierarchy
Members
protected
- $_allocationSize — int
- $_initialValue — int
- $_name — string
- $_namespace
—
string
Namespace of the asset. If none isset the default namespace is assumed. - $_quoted — Doctrine\DBAL\Schema\bool
Methods
public
- __construct()
- getAllocationSize()
- getInitialValue()
- isAutoIncrementsFor() — Check if this sequence is an autoincrement sequence for a given table.
- setAllocationSize()
- setInitialValue()
- visit()
Inherited from Doctrine\DBAL\Schema\AbstractAsset
protected
- _generateIdentifierName() — Generate an identifier from a list of column names obeying a certain string length.
- _setName() — Set name of this asset
- isIdentifierQuoted() — Check if this identifier is quoted.
- trimQuotes() — Trim quotes from the identifier.
public
- getFullQualifiedName() — The normalized name is full-qualified and lowerspaced. Lowerspacing is actually wrong, but we have to do it to keep our sanity. If you are using database objects that only differentiate in the casing (FOO vs Foo) then you will NOT be able to use Doctrine Schema abstraction.
- getName() — Return name of this schema asset.
- getNamespaceName() — Get namespace name of this asset.
- getQuotedName() — Get the quoted representation of this asset but only if it was defined with one. Otherwise return the plain unquoted value as inserted.
- getShortestName() — The shortest name is stripped of the default namespace. All other namespaced elements are returned as full-qualified names.
- isInDefaultNamespace() — Is this asset in the default namespace?
- isQuoted() — Check if this asset's name is quoted