Module io.github.mmm.property
Class PropertyFactoryInteger
- java.lang.Object
-
- io.github.mmm.property.factory.AbstractPropertyFactory<Integer,IntegerProperty>
-
- io.github.mmm.property.number.integers.PropertyFactoryInteger
-
- All Implemented Interfaces:
PropertyFactory<Integer,IntegerProperty>
public class PropertyFactoryInteger extends AbstractPropertyFactory<Integer,IntegerProperty>
Implementation ofPropertyFactory
forIntegerProperty
.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description PropertyFactoryInteger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerProperty
create(String name, Class<? extends Integer> valueClass, PropertyMetadata<Integer> metadata)
Creates a new instance of the property.Class<IntegerProperty>
getImplementationClass()
Class<? extends ReadableProperty<Integer>>
getReadableInterface()
Class<Integer>
getValueClass()
Class<? extends WritableProperty<Integer>>
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<Integer> getValueClass()
- Returns:
- the
Class
of theproperty value
. May benull
for a generic property.
-
getReadableInterface
public Class<? extends ReadableProperty<Integer>> getReadableInterface()
- Returns:
- the
Class
reflecting theReadableProperty
interface. May benull
if no dedicated readable interface exists.
-
getWritableInterface
public Class<? extends WritableProperty<Integer>> getWritableInterface()
- Returns:
- the
Class
reflecting theWritableProperty
interface. May benull
if no dedicated writable interface exists.
-
getImplementationClass
public Class<IntegerProperty> getImplementationClass()
- Returns:
- the
Class
reflecting theWritableProperty
implementation.
-
create
public IntegerProperty create(String name, Class<? extends Integer> valueClass, PropertyMetadata<Integer> metadata)
Description copied from interface:PropertyFactory
Creates a new instance of the property.- Parameters:
name
- theproperty name
.valueClass
- thevalue class
.metadata
- TODO- Returns:
- the new instance of the property.
-
-