ManagedPropertyDescription class

Contains database column information and metadata for a property of a ManagedObject object.

Each property a ManagedObject object manages is described by an instance of ManagedPropertyDescription, which contains useful information about the property such as its name and type. Those properties are represented by concrete subclasses of this class, ManagedRelationshipDescription and ManagedAttributeDescription.

Implemented by

Constructors

ManagedPropertyDescription(ManagedEntity entity, String name, ManagedType type, ClassMirror declaredType, { bool unique: false, bool indexed: false, bool nullable: false, bool includedInDefaultResultSet: true, bool autoincrement: false })

Properties

autoincrement bool
Whether or not this property should use an auto-incrementing scheme. [...]
final
declaredType ClassMirror
The type of the variable that this property represents.
final
entity ManagedEntity
A reference to the ManagedEntity that contains this property.
final
isIncludedInDefaultResultSet bool
Whether or not this property is returned in the default set of Query.returningProperties. [...]
final
isIndexed bool
Whether or not this property should be indexed by a PersistentStore. [...]
final
isNullable bool
Whether or not this property can be null. [...]
final
isUnique bool
Whether or not this property must be unique to across all instances represented by entity. [...]
final
name String
The identifying name of this property.
final
type ManagedType
The value type of this property. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

convertFromPrimitiveValue(dynamic value) → dynamic
Converts a value to a more complex value from a primitive value according to this instance's definition. [...]
convertToPrimitiveValue(dynamic value) → dynamic
Converts a value from a more complex value into a primitive value according to this instance's definition. [...]
documentSchemaObject(APIDocumentContext context) APISchemaObject
Returns an APISchemaObject that represents this property. [...]
isAssignableWith(dynamic dartValue) bool
Whether or not a the argument can be assigned to this property.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited