01: /*
02: * Copyright 2001-2006 C:1 Financial Services GmbH
03: *
04: * This software is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License Version 2.1, as published by the Free Software Foundation.
07: *
08: * This software is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * Lesser General Public License for more details.
12: *
13: * You should have received a copy of the GNU Lesser General Public
14: * License along with this library; if not, write to the Free Software
15: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
16: */
17:
18: package de.finix.contelligent.xml.elements;
19:
20: import java.util.LinkedList;
21: import java.util.List;
22:
23: public class PolicyElement {
24:
25: String packagePrefix;
26:
27: List policyPermissions = new LinkedList();
28:
29: /**
30: * @return
31: */
32: public String getPackagePrefix() {
33: return packagePrefix;
34: }
35:
36: /**
37: * @return
38: */
39: public List getPolicyPermissions() {
40: return policyPermissions;
41: }
42:
43: public void addPolicyPermission(PolicyPermissionElement element) {
44: policyPermissions.add(element);
45: }
46:
47: /**
48: * @param string
49: */
50: public void setPackagePrefix(String string) {
51: packagePrefix = string;
52: }
53:
54: }
|