Java 类org.hibernate.annotations.OnDeleteAction 实例源码

项目:scheduling    文件:TaskData.java   
@Cascade(CascadeType.ALL)
@OneToMany(mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<EnvironmentModifierData> getEnvModifiers() {
    return envModifiers;
}
项目:scheduling    文件:TaskResultData.java   
@ManyToOne(fetch = FetchType.LAZY)
@OnDelete(action = OnDeleteAction.CASCADE)
@JoinColumns(value = { @JoinColumn(name = "JOB_ID", referencedColumnName = "TASK_ID_JOB"),
                       @JoinColumn(name = "TASK_ID", referencedColumnName = "TASK_ID_TASK") })
public TaskData getTaskRuntimeData() {
    return taskRuntimeData;
}
项目:scheduling    文件:TaskData.java   
@Column(name = "EXECUTER_INFORMATION_DATA", length = Integer.MAX_VALUE)
@Cascade(CascadeType.ALL)
@Type(type = "org.hibernate.type.SerializableToBlobType", parameters = @org.hibernate.annotations.Parameter(name = SerializableToBlobType.CLASS_NAME, value = "java.lang.Object"))
@OnDelete(action = OnDeleteAction.CASCADE)
public ExecuterInformationData getExecuterInformationData() {
    return executerInformationData;
}
项目:scheduling    文件:TaskData.java   
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public Map<String, TaskDataVariable> getVariables() {
    return variables;
}
项目:scheduling    文件:TaskData.java   
@OneToOne(fetch = FetchType.LAZY)
@OnDelete(action = OnDeleteAction.CASCADE)
public TaskData getIfBranch() {
    return ifBranch;
}
项目:scheduling    文件:TaskData.java   
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<SelectionScriptData> getSelectionScripts() {
    return selectionScripts;
}
项目:scheduling    文件:TaskData.java   
@Cascade(CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "taskData")
@OnDelete(action = OnDeleteAction.CASCADE)
public List<SelectorData> getDataspaceSelectors() {
    return dataspaceSelectors;
}
项目:scheduling    文件:JobData.java   
@Cascade(org.hibernate.annotations.CascadeType.ALL)
@OneToMany(fetch = FetchType.LAZY, mappedBy = "jobData")
@OnDelete(action = OnDeleteAction.CASCADE)
public Map<String, JobDataVariable> getVariables() {
    return variables;
}
项目:scheduling    文件:JobData.java   
@OneToMany(mappedBy = "jobData", fetch = FetchType.LAZY)
@OnDelete(action = OnDeleteAction.CASCADE)
public List<TaskData> getTasks() {
    return tasks;
}
项目:hypothesis    文件:UserPermission.java   
@ManyToOne
@JoinColumn(name = FieldConstants.USER_ID, nullable = false)
@OnDelete(action = OnDeleteAction.CASCADE)
public User getUser() {
    return user;
}
项目:hypothesis    文件:GroupPermission.java   
@ManyToOne
@JoinColumn(name = FieldConstants.GROUP_ID, nullable = false)
@OnDelete(action = OnDeleteAction.CASCADE)
public Group getGroup() {
    return group;
}