de.tsl2.nano.cursus.Res 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!
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Tom
* created on: 31.03.2017
*
* Copyright: (c) Thomas Schneider 2017, all rights reserved
*/
package de.tsl2.nano.cursus;
import java.io.Serializable;
import de.tsl2.nano.bean.PReference;
/**
* References the real entity instance to change
* @author Tom
*/
public class Res extends PReference implements Serializable {
private static final long serialVersionUID = 1L;
protected String type;
protected Object objectid;
public Res() {
}
public Res(O instance, String path) {
super(instance, path);
}
public Res(Class type, Object objectid, String path) {
this(type.getName(), objectid, path);
}
public Res(String type, Object objectid, String path) {
this.type = type;
this.objectid = objectid;
setDescription(createDescription(type, objectid, path));
}
public Object getObjectid() {
return objectid;
}
// @Override
// public String toString() {
// return Util.toString(getClass(), type, objectid, path);
// }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy