diff --git a/src/main/java/cokr/xit/foundation/AbstractEntity.java b/src/main/java/cokr/xit/foundation/AbstractEntity.java index c707f0d..5de70a1 100644 --- a/src/main/java/cokr/xit/foundation/AbstractEntity.java +++ b/src/main/java/cokr/xit/foundation/AbstractEntity.java @@ -136,4 +136,13 @@ public abstract class AbstractEntity { public void setUseYN(String useYN) { this.useYN = useYN; } + + /**현재 객체를 반환한다. + * @param AbstractEntity 유형 + * @return 현재 객체 + */ + @SuppressWarnings("unchecked") + protected T self() { + return (T)this; + } } \ No newline at end of file