view app/models/UserModel.java @ 7:2122c50278bd

add Global.java, ande models/*
author one
date Mon, 01 Oct 2012 18:51:30 +0900
parents
children 7b314898fddd
line wrap: on
line source

package models;

import com.tinkerpop.blueprints.Vertex;

public class UserModel extends NodeModel {


	
	public UserModel(Vertex vertex) {
		super(vertex);
	}
	
	public Vertex setName(String name) {
		this.vertex.setProperty(NAME, name);
		return vertex;
	}

	
	
	
}