self() 추가

master
mjkhan21 1 year ago
parent f522105cb5
commit b8b65e1fb2

@ -136,4 +136,13 @@ public abstract class AbstractEntity {
public void setUseYN(String useYN) { public void setUseYN(String useYN) {
this.useYN = useYN; this.useYN = useYN;
} }
/** .
* @param <T> AbstractEntity
* @return
*/
@SuppressWarnings("unchecked")
protected <T extends AbstractEntity> T self() {
return (T)this;
}
} }
Loading…
Cancel
Save