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

com.softicar.platform.common.core.entity.IEntity Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.entity;

import com.softicar.platform.common.core.i18n.IDisplayString;
import com.softicar.platform.common.core.i18n.IDisplayable;
import com.softicar.platform.common.core.item.IBasicItem;

/**
 * Represents an {@link IBasicItem} with a title.
 *
 * @author Oliver Richers
 */
public interface IEntity extends IBasicItem, IDisplayable {

	/**
	 * Converts this {@link IEntity} into an {@link IDisplayable}.
	 * 

* The {@link IDisplayString} shall not contain the ID of the * {@link IEntity}. * * @return the {@link IDisplayString} without ID (never null) */ IDisplayString toDisplayWithoutId(); @Override default IDisplayString toDisplay() { return toDisplayWithoutId().concat(" [" + getId() + "]"); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy