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