de.tsl2.nano.cursus.persistence.EConsiliumID Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.cursus Show documentation
Show all versions of tsl2.nano.cursus Show documentation
repeatable course/process (delta-processing-engine, event sourcing)
The newest version!
package de.tsl2.nano.cursus.persistence;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import de.tsl2.nano.bean.annotation.Attributes;
import de.tsl2.nano.bean.annotation.Presentable;
import de.tsl2.nano.bean.annotation.ValueExpression;
import de.tsl2.nano.service.util.IPersistable;
@Entity
@ValueExpression("{name}")
@Attributes(names = { "name" })
@Presentable(label = "ΔConsilium-ID", icon = "icons/point-green.png")
public class EConsiliumID implements IPersistable {
private static final long serialVersionUID = 1L;
String id;
String name;
public EConsiliumID() {
}
public EConsiliumID(String name) {
this.name = name;
}
@Id
@GeneratedValue
@Override
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toString() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy