一个webwork+spring+ibatis的小例子
源代码在线查看: rolemodel.java
/*
* Created on 2005-5-18 Author 泰伯子仪
*
* Copyright (c) 2003-2005 by HodeSoft
* All rights reserved.
*/
package org.sanv.rbac.model;
import org.sanv.framework.model.IbatisModel;
public class RoleModel extends IbatisModel implements IRoleModel
{
private static final long serialVersionUID = 3832907649967863349L;
private String strName;
private int intGroupID;
private int intResourceType;
private String strDescribe;
private int intOrderNum;
public int getIntGroupID()
{
return intGroupID;
}
public void setIntGroupID(int intGroupID)
{
this.intGroupID = intGroupID;
}
public int getIntOrderNum()
{
return intOrderNum;
}
public void setIntOrderNum(int intOrderNum)
{
this.intOrderNum = intOrderNum;
}
public int getIntResourceType()
{
return intResourceType;
}
public void setIntResourceType(int intResourceType)
{
this.intResourceType = intResourceType;
}
public String getStrDescribe()
{
return strDescribe;
}
public void setStrDescribe(String strDescribe)
{
this.strDescribe = strDescribe;
}
public String getStrName()
{
return strName;
}
public void setStrName(String strName)
{
this.strName = strName;
}
/* (non-Javadoc)
* @see org.sanv.framework.model.IbatisModel#equals(java.lang.Object)
*/
public boolean equals(Object obj)
{
// TODO Auto-generated method stub
return false;
}
/* (non-Javadoc)
* @see org.sanv.framework.model.IbatisModel#hashCode()
*/
public int hashCode()
{
// TODO Auto-generated method stub
return 0;
}
/* (non-Javadoc)
* @see org.sanv.framework.model.IbatisModel#toString()
*/
public String toString()
{
// TODO Auto-generated method stub
return null;
}
}