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
package org.litesoft.GWT.client.pavsupport;

import org.litesoft.commonfoundation.typeutils.*;

import com.google.gwt.place.shared.*;

public abstract class IdPlace extends Place implements HasPlaceId {
    private String mPlaceId;

    protected IdPlace( Object pPlaceId ) {
        mPlaceId = Strings.assertNotNullNotEmpty( "PlaceId", pPlaceId.toString() );
    }

    @Override
    public String getPlaceId() {
        return mPlaceId;
    }

    @Override
    public int hashCode() {
        return mPlaceId.hashCode();
    }

    @Override
    public boolean equals( Object other ) {
        return (other == this) || ((other instanceof IdPlace) && equals( (IdPlace) other ));
    }

    public boolean equals( IdPlace them ) {
        return (this == them) || ((them != null) && (this.mPlaceId.equals( them.mPlaceId )));
    }
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/IdPlace.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

939 Diff Diff GeorgeS picture GeorgeS Mon 02 Jun, 2014 21:30:31 +0000

Extracting commonfoundation

821 Diff Diff GeorgeS picture GeorgeS Sun 19 Aug, 2012 00:08:41 +0000
720 Diff Diff GeorgeS picture GeorgeS Sun 10 Jun, 2012 16:20:42 +0000
712 GeorgeS picture GeorgeS Sat 09 Jun, 2012 22:46:04 +0000

Move PAV stuff into LiteSoft