mvvmfx/src/main/java/de/saxsys/mvvmfx/utils/mapping/ModelWrapper.java
public StringProperty field(StringPropertyAccessor<M> accessor) {
		return add(new FxPropertyField<>(this::propertyWasChanged, accessor, SimpleStringProperty::new));
	}
public StringProperty field(StringPropertyAccessor<M> accessor) {
		return add(new FxPropertyField<>(this::propertyWasChanged, accessor, SimpleStringProperty::new));
	}
public StringProperty field ( StringPropertyAccessor < M > accessor ) { return add ( new FxPropertyField <> ( this :: propertyWasChanged , accessor , SimpleStringProperty :: new ) ) ; }
Add a new field of type {@link String} to this instance of the wrapper. This method is used for model elements
that are following the enhanced JavaFX-Beans-standard i.e. the model fields are available as JavaFX Properties.
<p>

Example:
<p>

<pre>
ModelWrapper{@code<Person>} personWrapper = new ModelWrapper{@code<>}();

StringProperty wrappedNameProperty = personWrapper.field(person -> person.nameProperty());

// or with a method reference
StringProperty wrappedNameProperty = personWrapper.field(Person::nameProperty);

</pre>

@param accessor
a function that returns the property for a given model instance. Typically you will use a method
reference to the javafx-property accessor method.

@return The wrapped property instance.
Add a new field of type { @link String } to this instance of the wrapper . This method is used for model elements that are following the enhanced JavaFX - Beans - standard i . e . the model fields are available as JavaFX Properties . <p >