Java Domain Value Framework

I've just released the 'Domain Value' framework for easily creation of Java domain value classes.



Maven Dependency
Example: BankAccountNumber
public class BankAccountNumber extends LongDV {

    protected BankAccountNumber(Long value) {

    public static BankAccountNumber of(Long value) {
        assert isValid(value) : isNotValidText(value, Id.class);
        return new Id(value);

    public static boolean isValid(Long value) {
        return LongDV.isValid(value)
                && value > 0;

    public static BankAccountNumber of(String stringValue) {
        Long value = Long_of(stringValue);
        return of(value);

    public static boolean isValid(String stringValue) {
            Long value = Long_of(stringValue);
            return isValid(value);
        return false;



  1. Grosvenor Hotel Casino & Spa: Luxury Hotel in Israel - Air
    Grosvenor Hotel Casino where to order air jordan 18 retro toro mens sneakers & Spa is how to buy air jordan 18 retro men blue situated on the top level of Israel's renowned air jordan 18 retro red suede online store Gold Coast and features over 2,000 where to buy air jordan 18 retro guest rooms. Located in 사설토토 추천 샤오미 the centre of


Post a Comment