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