Example usage for org.apache.wicket.model IObjectClassAwareModel interface-usage

List of usage examples for org.apache.wicket.model IObjectClassAwareModel interface-usage

Introduction

In this page you can find the example usage for org.apache.wicket.model IObjectClassAwareModel interface-usage.

Usage

From source file de.flapdoodle.wicket.model.property.PropertyAccessModel.java

public class PropertyAccessModel<T, S> implements IObjectClassAwareModel<T> {

    private final IModel<S> _source;
    private final IPropertyAccess<T, S> _access;

    public PropertyAccessModel(IModel<S> source, IPropertyAccess<T, S> access) {

From source file org.hippoecm.frontend.model.properties.JcrPropertyValueModel.java

/**
 * Model of a property value.  Retrieves the value of a single valued property, or an indexed
 * value of a multi-valued property.  The type of the value returned depends on the JCR type
 * of the property.  I.e. JCR type string maps to {@link String}, date maps to {@link Date}.
 * <p>
 * One can also set and retrieve the underlying {@link Value}.

From source file org.opensingular.form.wicket.model.SInstanceValueModel.java

@SuppressWarnings("serial")
public class SInstanceValueModel<T> implements IModel<T>, IObjectClassAwareModel<T>, ISInstanceAwareModel<T> {

    private IModel<? extends SInstance> instanciaModel;

    public SInstanceValueModel(IModel<? extends SInstance> instanciaModel) {

From source file org.opensingular.lib.wicket.util.model.ValueModel.java

public final class ValueModel<T extends Serializable> implements IMappingModel<T>, IObjectClassAwareModel<T> {

    /** Backing object. */
    private T object;

    private final IFunction<T, Object> equalsHashArgsFunc;

From source file org.wicketeer.modelfactory.TypedPropertyModel.java

class TypedPropertyModel<S> extends PropertyModel<S> implements IObjectClassAwareModel<S> {
    private static final long serialVersionUID = 1L;
    private final Class<S> type;

    TypedPropertyModel(final Object t, final String path, final Class<S> type) throws NullPointerException {
        super(t, path);

From source file org.wicketstuff.lazymodel.LazyModel.java

/**
 * A model for lazy evaluations:
 * 
 * <pre>
 * IModel&lt;String&gt; model = model(from(a).getB().getStrings().get(&quot;key&quot;));
 * 

From source file org.wicketstuff.table.cell.TableCellModel.java

/**
 * Model responsible to receive and update an value from a table model position.
 * 
 * @author Pedro Henrique Oliveira dos Santos
 * 
 */