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);
}