class FieldMetadata extends LocalColumnMetadata implements Property (View source)

Properties

protected string|null $tableName from ColumnMetadata
protected string|null $columnName from ColumnMetadata
protected Type|null $type from ColumnMetadata
protected string|null $columnDefinition from ColumnMetadata
protected mixed[] $options from ColumnMetadata
protected bool $primaryKey from ColumnMetadata
protected bool $nullable from ColumnMetadata
protected bool $unique from ColumnMetadata
protected int|null $length from LocalColumnMetadata
protected int|null $scale from LocalColumnMetadata
protected int|null $precision from LocalColumnMetadata
protected ValueGeneratorMetadata|null $valueGenerator from LocalColumnMetadata
protected ComponentMetadata $declaringClass
protected ReflectionProperty $reflection
protected string $name

Methods

getTableName()

Table name

setTableName(string $tableName)

No description

getColumnName()

No description

setColumnName(string $columnName)

No description

getType()

No description

setType(Type $type)

No description

getTypeName()

No description

getColumnDefinition()

No description

setColumnDefinition(string $columnDefinition)

No description

mixed[]
getOptions()

No description

setOptions(array $options)

No description

setPrimaryKey(bool $isPrimaryKey)

No description

isPrimaryKey()

No description

setNullable(bool $isNullable)

No description

isNullable()

No description

setUnique(bool $isUnique)

No description

isUnique()

No description

getLength()

No description

setLength(int $length)

No description

getScale()

No description

setScale(int $scale)

No description

getPrecision()

No description

setPrecision(int $precision)

No description

hasValueGenerator()

No description

getValueGenerator()

No description

setValueGenerator(ValueGeneratorMetadata|null $valueGenerator)

No description

__construct(string $name)

No description

getDeclaringClass()

No description

setDeclaringClass(ComponentMetadata $declaringClass)

No description

getName()

No description

setValue(object $object, mixed $value)

No description

mixed
getValue(object $object)

No description

isAssociation()

{@inheritdoc}

isField()

{@inheritdoc}

setReflectionProperty(ReflectionProperty $reflectionProperty)

No description

wakeupReflection(ReflectionService $reflectionService)

No description

Details

getTableName()

Table name

setTableName(string $tableName)

Parameters

string $tableName

getColumnName()

setColumnName(string $columnName)

Parameters

string $columnName

getType()

setType(Type $type)

Parameters

Type $type

getTypeName()

getColumnDefinition()

setColumnDefinition(string $columnDefinition)

Parameters

string $columnDefinition

mixed[] getOptions()

Return Value

mixed[]

setOptions(array $options)

Parameters

array $options

setPrimaryKey(bool $isPrimaryKey)

Parameters

bool $isPrimaryKey

isPrimaryKey()

setNullable(bool $isNullable)

Parameters

bool $isNullable

isNullable()

setUnique(bool $isUnique)

Parameters

bool $isUnique

isUnique()

getLength()

setLength(int $length)

Parameters

int $length

getScale()

setScale(int $scale)

Parameters

int $scale

getPrecision()

setPrecision(int $precision)

Parameters

int $precision

hasValueGenerator()

getValueGenerator()

setValueGenerator(ValueGeneratorMetadata|null $valueGenerator)

Parameters

ValueGeneratorMetadata|null $valueGenerator

__construct(string $name)

Parameters

string $name

getDeclaringClass()

setDeclaringClass(ComponentMetadata $declaringClass)

Parameters

ComponentMetadata $declaringClass

getName()

setValue(object $object, mixed $value)

Parameters

object $object
mixed $value

mixed getValue(object $object)

Parameters

object $object

Return Value

mixed

isAssociation()

{@inheritdoc}

isField()

{@inheritdoc}

setReflectionProperty(ReflectionProperty $reflectionProperty)

Parameters

ReflectionProperty $reflectionProperty

wakeupReflection(ReflectionService $reflectionService)

Parameters

ReflectionService $reflectionService