Source Code‎ > ‎src‎ > ‎in.co.sunrays.proj1‎ > ‎dto‎ > ‎

DropdownList.java

package in.co.sunrays.proj1.dto;

/**
 * DropdownList interface is implemented by DTOs those are used to create drop
 * down list on HTML pages
 *
 * @author SUNRAYS Technologies
 * @version 1.0
 * @Copyright (c) SUNRAYS Technologies
 */
public interface DropdownList {

    /**
     * Returns key of list element
     *
     * @return key
     */
    public String getKey();

    /**
     * Returns display text of list element
     *
     * @return value
     */
    public String getValue();

}
Comments