Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
package com.temp.common.shared.utils;

/**
 * Interface to allow for a difference between an Object's toString() and what should be Displayed, e.g. an Enum used as a Option in a UI.
 *
 * @author georgs
 */
public interface Displayable {
    /**
     * @return the value to be Displayed; instead of calling toString()
     */
    String getDisplayString();
}

Commits for litesoft/trunk/GWT_Sandbox/FormEngine/src/com/temp/common/shared/utils/Displayable.java

Diff revisions: vs.
Revision Author Commited Message
964 GeorgeS picture GeorgeS Fri 01 Aug, 2014 03:18:23 +0000

!