Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package org.litesoft.sandbox.multimodule.client.foundation.places;

import org.litesoft.GWT.client.pavsupport.*;
import org.litesoft.sandbox.multimodule.client.foundation.support.*;

public class PlaceFront extends IdPlace {
    private static final EnumPlaces ID = EnumPlaces.Front;

    private Long luckyId;

    public PlaceFront( Long data ) {
        super( ID );
        this.luckyId = data;
    }

    public Long getLuckyId() {
        return luckyId;
    }

    public static class Tokenizer extends IdTokenizer<PlaceFront> {
        public Tokenizer() {
            super( ID );
        }

        @Override
        public String getToken( PlaceFront place ) {
            return LuckyIdCodec.encode( place.getLuckyId() );
        }

        @Override
        public PlaceFront getPlace( String data ) {
            return new PlaceFront( LuckyIdCodec.decode( data ) );
        }
    }
}

Commits for litesoft/trunk/GWT_Sandbox/MultiModuleSingleSrc/main/src/org/litesoft/sandbox/multimodule/client/foundation/places/PlaceFront.java

Diff revisions: vs.
Revision Author Commited Message
948 Diff Diff GeorgeS picture GeorgeS Sat 07 Jun, 2014 23:42:39 +0000

Jusefuls Formatter Updated to New Code Format

713 Diff Diff GeorgeS picture GeorgeS Sat 09 Jun, 2012 22:47:07 +0000
669 Diff Diff GeorgeS picture GeorgeS Sun 13 May, 2012 23:29:27 +0000
585 Diff Diff GeorgeS picture GeorgeS Fri 18 Nov, 2011 17:55:26 +0000
582 GeorgeS picture GeorgeS Mon 14 Nov, 2011 19:55:23 +0000

Single Dir Based MultiModule