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

org.gwt.advanced.client.datamodel.IndexedEntity Maven / Gradle / Ivy

There is a newer version: 2.0.9
Show newest version
package org.gwt.advanced.client.datamodel;

/**
 * This interface describes an indexed enity, i.e. any object that has unique numeric index.
 *
 * @author Sergey Skladchikov
 * @since 1.4.0
 */
public interface IndexedEntity {
    /**
     * Gets an unique index of the object.
     *
     * @return an index value.
     */
    int getIndex();

    /**
     * Sets an unique index of the object.
     *
     * @param index is an index value.
     */
    void setIndex(int index);

    /**
     * This method gets data of this row.
     *
     * @return a data array.
     */
    Object[] getData();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy