Back to project page meets-android.
The source code is released under:
MIT License
If you think the Android project meets-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.theagilemonkeys.meets.models.base; /*from ww w. j a v a 2 s . c o m*/ import com.theagilemonkeys.meets.ApiMethodModelHelperInterface; import java.io.Serializable; /** * Android Meets SDK * Original work Copyright (c) 2014 [TheAgileMonkeys] * * @author ??lvaro Lpez Espinosa */ public interface MeetsModel<MODEL> extends ApiMethodModelHelperInterface<MODEL>, Serializable { MODEL fetch(); MODEL fetch(int id); MODEL setId(int id); int getId(); /** * TODO * @param weakAttributes * @return */ MODEL include(String... weakAttributes); /** * Returns true if the model still does not have a valid id. */ boolean isNew(); /** * Copy all non-null properties from the passed model to this. Listeners are also ignored, so listeners * attached to this will be the same after calling this function. * @param model The model to copy from * @return This model */ MODEL shallowCopyFrom(MODEL model); }