Module io.github.mmm.property
Class PropertyFactoryOffsetDateTime
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<OffsetDateTime,OffsetDateTimeProperty>
-
- io.github.mmm.property.temporal.offsetdatetime.PropertyFactoryOffsetDateTime
-
- All Implemented Interfaces:
PropertyFactory<OffsetDateTime,OffsetDateTimeProperty>
public class PropertyFactoryOffsetDateTime extends AbstractPropertyFactory<OffsetDateTime,OffsetDateTimeProperty>
This is the implementation ofPropertyFactoryforOffsetDateTimeProperty.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryOffsetDateTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimePropertycreate(String name, Class<? extends OffsetDateTime> valueClass, PropertyMetadata<OffsetDateTime> metadata)Creates a new instance of the property.Class<OffsetDateTimeProperty>getImplementationClass()Class<? extends ReadableProperty<OffsetDateTime>>getReadableInterface()Class<OffsetDateTime>getValueClass()Class<? extends WritableProperty<OffsetDateTime>>getWritableInterface()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.property.factory.PropertyFactory
isPolymorphic
-
-
-
-
Method Detail
-
getValueClass
public Class<OffsetDateTime> getValueClass()
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<OffsetDateTime>> getReadableInterface()
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<OffsetDateTime>> getWritableInterface()
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
public Class<OffsetDateTimeProperty> getImplementationClass()
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public OffsetDateTimeProperty create(String name, Class<? extends OffsetDateTime> valueClass, PropertyMetadata<OffsetDateTime> metadata)
Description copied from interface:PropertyFactoryCreates a new instance of the property.- Parameters:
name- theproperty name.valueClass- thevalue class.metadata- TODO- Returns:
- the new instance of the property.
-
-