role.java

来自「java实现的可配置的工作流引擎,采用jsp+javabean实现」· Java 代码 · 共 72 行

JAVA
72
字号
package com.hongsoft.res.pojo;

/**
 * 角色对象
 */
public class Role
{
    private long id=0;
  /**
    * 角色名称
    */
   private String name = null;

   /**
    * 角色描述
    */
   private String description = null;

   public Role()
   {
   }

   public void setId(long id){
     this.id=id;
   }

   public long getId(){
     return this.id;
   }

   /**
    * Access method for the name property.
    *
    * @return   the current value of the name property
    */
   public String getName()
   {
      return name;
   }

   /**
    * Sets the value of the name property.
    *
    * @param aName the new value of the name property
    */
   public void setName(String aName)
   {
      name = aName;
   }

   /**
    * Access method for the description property.
    *
    * @return   the current value of the description property
    */
   public String getDescription()
   {
      return description;
   }

   /**
    * Sets the value of the description property.
    *
    * @param aDescription the new value of the description property
    */
   public void setDescription(String aDescription)
   {
      description = aDescription;
   }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?