Package com.appspot.plucial.model

Examples of com.appspot.plucial.model.UserUrlsModel


    public static UserUrlsModel put(UserModel userModel,
            String value,
            String type,
            String label) {

        UserUrlsModel model = new UserUrlsModel();

        // value
        if(value != null && !value.isEmpty()) {
            model.setValue(new Text(value));
        }

        // type
        if(type != null && !type.isEmpty()) {
            model.setType(type);
        }

        // label
        if(label != null && !label.isEmpty()) {
            model.setLabel(new Text(label));
        }

        // 関連
        model.getUserModelRef().setModel(userModel);

        return put(model);
    }
View Full Code Here

TOP

Related Classes of com.appspot.plucial.model.UserUrlsModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.