Module io.github.mmm.property
Class PropertyFactoryInstant
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<Instant,InstantProperty>
-
- io.github.mmm.property.temporal.instant.PropertyFactoryInstant
-
- All Implemented Interfaces:
PropertyFactory<Instant,InstantProperty>
public class PropertyFactoryInstant extends AbstractPropertyFactory<Instant,InstantProperty>
This is the implementation ofPropertyFactoryforInstantProperty.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryInstant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantPropertycreate(String name, Class<? extends Instant> valueClass, PropertyMetadata<Instant> metadata)Creates a new instance of the property.Class<InstantProperty>getImplementationClass()Class<? extends ReadableProperty<Instant>>getReadableInterface()Class<Instant>getValueClass()Class<? extends WritableProperty<Instant>>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<Instant> getValueClass()
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<Instant>> getReadableInterface()
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<Instant>> getWritableInterface()
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
public Class<InstantProperty> getImplementationClass()
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public InstantProperty create(String name, Class<? extends Instant> valueClass, PropertyMetadata<Instant> 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.
-
-