com.netgrif.application.engine.petrinet.domain.Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.petrinet.domain;
import lombok.Getter;
import lombok.Setter;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Function extends PetriNetObject {
@Getter
@Setter
private String definition;
@Getter
@Setter
private String name;
@Getter
@Setter
private FunctionScope scope;
public Function() {
this.setObjectId(new ObjectId());
this.setImportId(this.getObjectId().toString());
}
public Function clone() {
Function clone = new Function();
clone.setObjectId(this.getObjectId());
clone.setImportId(this.importId);
clone.setDefinition(this.definition);
clone.setName(this.name);
clone.setScope(this.scope);
return clone;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy