Commit Graph

7 Commits

Author SHA1 Message Date
Inderjeet Singh
b50277c9af revised prefix for rest packages to com.google.gson.rest from com.google.gson.webservice.rest 2010-11-02 21:43:26 +00:00
Inderjeet Singh
b8d8244016 changed serial version id to default for WebServiceSystemException. Removed a system.out.println from a test. 2010-11-02 17:52:47 +00:00
Inderjeet Singh
681281e772 Moved the classes to create procedural web-services into a procedural package.
Moved IdTypeAdapter as an inner class of Id (Id.GsonTypeAdapter).
Created a internal.util package to keep commonly used classes such as Preconditions.
made common base classes such as ParamMap, ContentBody public.
2010-11-02 17:16:01 +00:00
Inderjeet Singh
b64f69cb00 Added efficient equals and isValid static methods. 2010-11-01 16:00:01 +00:00
Inderjeet Singh
1d2648231f Revised the hashCode of Id to be based just on the value. Also, revised the equals method to return true when the only difference in the type is that one class is Foo and other is Foo<?, ?>. Added a compact toString() in the Id class that prints the type as MyType<Foo,Bar> instead of fully qualified names for each of the types.
Added tests regarding object equality for the Id class.
2010-10-23 15:34:57 +00:00
Inderjeet Singh
281ed6f866 Created a generalized key-value store,MetaDataMap, for a map of MetaData.
Moved MetaData to wsdef from wsf.
Added a Gson type adapter for Id type.
2010-10-18 15:45:35 +00:00
Inderjeet Singh
de74482fe8 Implemented hashCode and equals for TypedKey to make it a value object.
Asserted preconditions on constructor input.
2010-07-12 22:13:38 +00:00