

package com.htm.entities.jpa;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;

import com.htm.entities.WrappableEntity;


/**
 * The persistent class for the CALLBACKCORRELATIONPROPERTY database table.
 */
@Entity
public class Callbackcorrelationproperty implements Serializable, WrappableEntity {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int id;

    private String name;

    @Lob()
    private byte[] value;

    //bi-directional many-to-one association to Humantaskinstance
    @ManyToOne
    @JoinColumn(name = "TIID")
    private Humantaskinstance humantaskinstance;

    public Callbackcorrelationproperty() {
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public byte[] getValue() {
        return this.value;
    }

    public void setValue(byte[] value) {
        this.value = value;
    }

    public Humantaskinstance getHumantaskinstance() {
        return this.humantaskinstance;
    }

    public void setHumantaskinstance(Humantaskinstance humantaskinstance) {
        this.humantaskinstance = humantaskinstance;
    }

}