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