- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<Range<V>,RangeProperty<V>>
-
- io.github.mmm.property.range.PropertyFactoryRange<V>
-
- Type Parameters:
V- type of theRangevalues.
- All Implemented Interfaces:
PropertyFactory<Range<V>,RangeProperty<V>>
public class PropertyFactoryRange<V> extends AbstractPropertyFactory<Range<V>,RangeProperty<V>>
Implementation ofPropertyFactoryforRangeProperty.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangePropertycreate(String name, Class<? extends Range<V>> valueClass, PropertyMetadata<Range<V>> metadata)Creates a new instance of the property.Class<RangeProperty<V>>getImplementationClass()Class<? extends ReadableProperty<Range<V>>>getReadableInterface()Class<? extends Range<V>>getValueClass()Class<? extends WritableProperty<Range<V>>>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<? extends Range<V>> getValueClass()
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<Range<V>>> getReadableInterface()
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<Range<V>>> getWritableInterface()
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
public Class<RangeProperty<V>> getImplementationClass()
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public RangeProperty create(String name, Class<? extends Range<V>> valueClass, PropertyMetadata<Range<V>> 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.
-
-