Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20210316] Java VO(Value Object) #69

Open
JuHyun419 opened this issue Mar 16, 2021 · 0 comments
Open

[20210316] Java VO(Value Object) #69

JuHyun419 opened this issue Mar 16, 2021 · 0 comments
Labels

Comments

@JuHyun419
Copy link
Owner

VO(Value Object)

  • Immutability(불변) -> 수정자(Setter)가 없음
  • Value Equals(값 동등성) -> 내부 값 동등성 검사(equals, hashcode)
  • Self Validation(자가 유효성 검사) -> 생성자에서 Validate 유효성 검사

References

https://livenow14.tistory.com/18#Value%--Object%--%EA%B-%B-%EB%B-%B-%--%ED%-A%B-%EC%--%B--

@JuHyun419 JuHyun419 added the Java label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant