org.kuali.student.mock.utilities
Class MockHelper
java.lang.Object
org.kuali.student.mock.utilities.MockHelper
public class MockHelper
- extends Object
A helper class for the Mock implementation
- Author:
- nwright
Method Summary |
MetaInfo |
createMeta(Context context)
Create a new MetaInfo with the create id and time as well as the update
date and time and version ind set |
MetaInfo |
updateMeta(Meta orig,
Context context)
Updates the MetaInfo with new user id and date stamp
Also increments the verssion indicator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockHelper
public MockHelper()
createMeta
public MetaInfo createMeta(Context context)
- Create a new MetaInfo with the create id and time as well as the update
date and time and version ind set
- Parameters:
context
-
- Returns:
updateMeta
public MetaInfo updateMeta(Meta orig,
Context context)
- Updates the MetaInfo with new user id and date stamp
Also increments the verssion indicator
- Parameters:
orig
- context
-
- Returns:
- new metainfo
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.