01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tcspring.beans.orm.domain;
05:
06: public class Permission {
07:
08: private int permissionId;
09: private String name;
10:
11: public String toString() {
12: StringBuffer result = new StringBuffer(50);
13: result.append("Permission { permissionId=");
14: result.append(permissionId);
15: result.append(", name=");
16: result.append(name);
17: result.append(" }");
18: return result.toString();
19: }
20:
21: public String getName() {
22: return name;
23: }
24:
25: public void setName(String name) {
26: this .name = name;
27: }
28:
29: public int getPermissionId() {
30: return permissionId;
31: }
32:
33: public void setPermissionId(int permissionId) {
34: this.permissionId = permissionId;
35: }
36: }
|