
org.rapidoidx.db.RichEntity Maven / Gradle / Ivy
The newest version!
package org.rapidoidx.db;
/*
* #%L
* rapidoid-x-db
* %%
* Copyright (C) 2014 - 2015 Nikolche Mihajlovski and contributors
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
* #L%
*/
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
import org.rapidoid.annotation.Authors;
import org.rapidoid.annotation.Since;
import org.rapidoid.entity.IEntity;
@Authors("Nikolche Mihajlovski")
@Since("3.0.0")
public interface RichEntity extends IEntity {
String createdBy();
void createdBy(String createdBy);
Date createdOn();
void createdOn(Date createdOn);
String lastUpdatedBy();
void lastUpdatedBy(String updatedBy);
Date lastUpdatedOn();
void lastUpdatedOn(Date updatedOn);
T get(String attr);
void set(String attr, Object value);
ConcurrentMap _map(Object key);
List _list(Object key);
Set _set(Object key);
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy