All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.starter.ignite.model.DataModelBase Maven / Gradle / Ivy

There is a newer version: 0.9.25
Show newest version
package io.starter.ignite.model;

import java.util.List;

/**
 * data methods
 *  
 * @author john
 *
 */
public abstract class DataModelBase implements DataModelObject {

	/**
	 * fetch a list of this item from cache or persistence
	 */
	public List getList() {
		return null;
	}

	/**
	 * fetch a DataModelBase item from cache or persistence
	 */
	public DataModelBase get() {
		return null;
	}

	/**
	 * save a DataModelBase item to cache or persistence
	 */
	public DataModelBase persist() {

		System.out.println("PERSISTING: " + this);

		return null;
	}

	@Override
	public DataModelObject getDelegate() {
		return null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy