All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.v7.data.util.VaadinPropertyDescriptor Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2000-2024 Vaadin Ltd
 *
 * This program is available under Vaadin Commercial License and Service Terms.
 *
 * See  for the full
 * license.
 */
package com.vaadin.v7.data.util;

import java.io.Serializable;

import com.vaadin.v7.data.Property;

/**
 * Property descriptor that can create a property instance for a bean.
 *
 * Used by {@link BeanItem} and {@link AbstractBeanContainer} to keep track of
 * the set of properties of items.
 *
 * @param 
 *            bean type
 *
 * @since 6.6
 *
 * @deprecated As of 8.0, no replacement available.
 */
@Deprecated
public interface VaadinPropertyDescriptor extends Serializable {
    /**
     * Returns the name of the property.
     *
     * @return
     */
    public String getName();

    /**
     * Returns the type of the property.
     *
     * @return property type class
     */
    public Class getPropertyType();

    /**
     * Creates a new {@link Property} instance for this property for a bean.
     *
     * @param bean a Bean
     * @return a new Property
     */
    public Property createProperty(BT bean);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy