Simplifying the User facing APIs in TyperUtils.
authorMadhu Venugopal <mavenugo@gmail.com>
Fri, 20 Jun 2014 08:41:33 +0000 (01:41 -0700)
committerMadhu Venugopal <mavenugo@gmail.com>
Fri, 20 Jun 2014 17:10:14 +0000 (10:10 -0700)
commit301726135acc258424908ebe4223030894493fb2
treef63e1d87f535af2431fb4d522106b0b34dbc72a1
parente7ec77cb8e31d856a509c2fdb97665e8448118c8
Simplifying the User facing APIs in TyperUtils.

Based on Ashwin's comment to the library infra gerrit (8104), more simplified User Facing APIs are introduced :
1. Bridge rBridge = ovs.createTypedRowWrapper(TestBridge.class);
   replaces
   TestBridge rBridge = TyperUtils.getTypedRowWrapper(dbSchema, TestBridge.class, new Row<GenericTableSchema>());

2. rBridge.getSchema()
   replaces
   GenericTableSchema rBridgeSchema = TyperUtils.getTableSchema(dbSchema, TestBridge.class);

More such Simplified alternative APIs will be added based on usage.

Change-Id: Ibdee07b308145bf792c9309d7095a94aac2d23b3
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>