java.lang.Object
io.github.mmm.property.factory.AbstractPropertyFactory<String,StringProperty>
io.github.mmm.property.string.PropertyFactoryString
- All Implemented Interfaces:
PropertyFactory<String,StringProperty>
Implementation of
PropertyFactory for StringProperty.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of the property.Class<? extends ReadableProperty<String>>Class<? extends WritableProperty<String>>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.mmm.property.factory.PropertyFactory
isPolymorphic
-
Constructor Details
-
PropertyFactoryString
public PropertyFactoryString()
-
-
Method Details
-
getValueClass
- Returns:
- the
Classof theproperty value. May benullfor a generic property.
-
getReadableInterface
- Returns:
- the
Classreflecting theReadablePropertyinterface. May benullif no dedicated readable interface exists.
-
getWritableInterface
- Returns:
- the
Classreflecting theWritablePropertyinterface. May benullif no dedicated writable interface exists.
-
getImplementationClass
- Returns:
- the
Classreflecting theWritablePropertyimplementation.
-
create
public StringProperty create(String name, Class<? extends String> valueClass, PropertyMetadata<String> 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.
-