EntityAdapted class
Annotation that instructs several code generators to generate added features to PODO classes.
As an annotation, it is a substitute for applying the MapMap, the Proto, the MapProto, the DefaultsProvider, the Validatable, the BuildBuilder and the CopyWith attributes, driving all the corresponding code generators to generate code as if driven by those attributes.
Additionally, this class also has an added property, rootEntityType that drives further code generation when EntityAdapted is applied to subclasses of rootEntityType, like an EntityAdapter and an EntityPermissions subclass.
- Implemented types
Constructors
Properties
- createDefaultsProviderBaseClass → bool
-
final
- createValidatableBaseClass → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeFieldsByDefault → bool
-
Determines whether to include all fields by default.
final
- packageName → String
-
final
- prefix → String?
-
final
- rootEntityType → Type
-
Type that constitutes the root of an
object graph that is to be communicated
and to be persisted. Extra code is generated
for PODOs to which the EntityAdapted is
applied to as an annotation as long as those
PODOs are a subclass of rootEntityType.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useDefaultsProvider → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited