List of usage examples for javax.persistence CascadeType REMOVE
CascadeType REMOVE
To view the source code for javax.persistence CascadeType REMOVE.
Click Source Link
From source file:com.impetus.ankush.common.domain.Cluster.java
/** * Gets the configurations./*w w w .j av a 2 s. co m*/ * * @return the configurations */ @OneToMany(mappedBy = CLUSTER_ID, fetch = FetchType.LAZY, cascade = CascadeType.REMOVE) @JsonIgnore public List<Configuration> getConfigurations() { return configurations; }
From source file:com.jeefuse.system.security.model.GsysRole.java
/** * ------------------------------------------------------------------------ * gsysRelRoleResources// ww w . j a va2 s . c o m * ------------------------------------------------------------------------ * @generated */ @OneToMany(fetch = FetchType.LAZY, mappedBy = "gsysRole", cascade = CascadeType.REMOVE) public List<GsysRelRoleResource> getGsysRelRoleResources() { if (this.gsysRelRoleResources == null) { this.gsysRelRoleResources = new ArrayList<GsysRelRoleResource>(); } return gsysRelRoleResources; }
From source file:edu.uiowa.icts.bluebutton.domain.LabTest.java
/*****labTestRanges*****/ @OneToMany(fetch = FetchType.LAZY, mappedBy = "labTest", targetEntity = LabTestRange.class, cascade = CascadeType.REMOVE) public Set<LabTestRange> getLabTestRanges() { return labTestRanges; }
From source file:com.infinities.skyport.entity.TaskEvent.java
@XmlTransient @OneToMany(fetch = FetchType.LAZY, mappedBy = "taskEvent", cascade = CascadeType.REMOVE) @OrderBy("id DESC") public Set<TaskEventLog> getTaskEventLogs() { return this.taskEventLogs; }
From source file:com.jeefuse.system.security.model.GsysResource.java
/** * ------------------------------------------------------------------------ * gsysRelRoleResources/* ww w . ja v a 2 s. c o m*/ * ------------------------------------------------------------------------ * @generated */ @OneToMany(fetch = FetchType.LAZY, mappedBy = "gsysResource", cascade = CascadeType.REMOVE) public List<GsysRelRoleResource> getGsysRelRoleResources() { if (this.gsysRelRoleResources == null) { this.gsysRelRoleResources = new ArrayList<GsysRelRoleResource>(); } return gsysRelRoleResources; }
From source file:com.impetus.ankush.common.domain.Cluster.java
/** * Gets the events./* w w w.ja va 2 s .c om*/ * * @return the events */ @OneToMany(mappedBy = CLUSTER_ID, fetch = FetchType.LAZY, cascade = CascadeType.REMOVE) @JsonIgnore public List<Event> getEvents() { return events; }
From source file:com.eryansky.entity.base.Resource.java
@OneToMany(mappedBy = "parentResource", cascade = { CascadeType.REMOVE }) public List<Resource> getSubResources() { return subResources; }
From source file:com.infinities.skyport.entity.User.java
@XmlTransient @OneToMany(fetch = FetchType.LAZY, mappedBy = "user", cascade = CascadeType.REMOVE) public Set<UserRole> getUserRoles() { return this.userRoles; }
From source file:com.jeefuse.system.security.model.GsysRole.java
/** * ------------------------------------------------------------------------ * gsysRelUserRoles/*from www . jav a 2s . c o m*/ * ------------------------------------------------------------------------ * @generated */ @OneToMany(fetch = FetchType.LAZY, mappedBy = "gsysRole", cascade = CascadeType.REMOVE) public List<GsysRelUserRole> getGsysRelUserRoles() { if (this.gsysRelUserRoles == null) { this.gsysRelUserRoles = new ArrayList<GsysRelUserRole>(); } return gsysRelUserRoles; }
From source file:com.impetus.ankush.common.domain.Cluster.java
/** * Gets the logs.// w ww . j a v a 2s . c o m * * @return the logs */ @OneToMany(mappedBy = CLUSTER_ID, fetch = FetchType.LAZY, cascade = CascadeType.REMOVE) @JsonIgnore public List<Log> getLogs() { return logs; }