public static class LocalDateTimeProperty.Factory extends Object implements PropertyFactory
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(EntityDescriptor descriptor,
Field field)
Determines if the given field is handled by this property factory.
|
void |
create(EntityDescriptor descriptor,
AccessPath accessPath,
Field field,
Consumer<Property> propertyConsumer)
Computes a
Property for the given field. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPrioritypublic boolean accepts(EntityDescriptor descriptor, Field field)
PropertyFactoryaccepts in interface PropertyFactorydescriptor - the current descriptorfield - the field to create a property frompublic void create(EntityDescriptor descriptor, AccessPath accessPath, Field field, Consumer<Property> propertyConsumer)
PropertyFactoryProperty for the given field.create in interface PropertyFactorydescriptor - the descriptor to which the property will belongaccessPath - the accesspath used to reach the given propertyfield - the field to create a property frompropertyConsumer - the consumer which is used to process created propertiesCopyright © 2018. All rights reserved.