Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
package com.temp.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/shared/utils/Displayable.java

Diff revisions: vs.
Revision Author Commited Message
626 GeorgeS picture GeorgeS Wed 11 Apr, 2012 19:39:41 +0000