KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sql99 > ddl > revoke > PDCharacterstics


1 package com.daffodilwoods.daffodildb.server.sql99.ddl.revoke;
2
3 /**
4  *
5  * @author pardeep
6  */

7 import java.util.*;
8
9 public class PDCharacterstics extends _PDCharacterstics {
10
11    private HashMap dependents;
12    private HashMap ancestors;
13    private int pdType;
14    private int status;
15    private boolean independentNode;
16
17    public PDCharacterstics() {
18       dependents = null;
19       ancestors = null;
20       pdType = 0;
21       status = 0;
22       independentNode = false;
23    }
24
25
26    public HashMap getDependents() {
27       return dependents;
28    }
29
30    public void setDependents(HashMap depen) {
31       dependents = depen;
32    }
33
34
35    public HashMap getAncestor() {
36       return ancestors;
37    }
38
39    public void setAncestor(HashMap ances) {
40       ancestors = ances;
41    }
42
43
44    public int getPDType() {
45       return pdType;
46    }
47
48    public void setPDType(int type) {
49       pdType = type;
50    }
51
52    public int getStatus() {
53       return status;
54    }
55
56    public void setStatus(int stat) {
57       status = stat;
58    }
59
60    public boolean isIndependent() {
61       return independentNode;
62    }
63
64    public void setIndependent(boolean value) {
65       independentNode = value;
66    }
67
68    public String JavaDoc toString() {
69       return "PDCharacterstics :: privilegeType=" + pdType + " status=" + status + " isIndependentNode=" + independentNode;
70    }
71 }
72
Popular Tags