%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.jetspeed.om.page.psml.SecurityConstraintsDefImpl |
|
|
1 | /* |
|
2 | * Licensed to the Apache Software Foundation (ASF) under one or more |
|
3 | * contributor license agreements. See the NOTICE file distributed with |
|
4 | * this work for additional information regarding copyright ownership. |
|
5 | * The ASF licenses this file to You under the Apache License, Version 2.0 |
|
6 | * (the "License"); you may not use this file except in compliance with |
|
7 | * the License. You may obtain a copy of the License at |
|
8 | * |
|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
10 | * |
|
11 | * Unless required by applicable law or agreed to in writing, software |
|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 | * See the License for the specific language governing permissions and |
|
15 | * limitations under the License. |
|
16 | */ |
|
17 | package org.apache.jetspeed.om.page.psml; |
|
18 | ||
19 | import java.util.ArrayList; |
|
20 | import java.util.List; |
|
21 | ||
22 | import org.apache.jetspeed.om.page.SecurityConstraintsDef; |
|
23 | ||
24 | /** |
|
25 | * <p> |
|
26 | * SecurityConstraintsImpl |
|
27 | * </p> |
|
28 | * <p> |
|
29 | * |
|
30 | * </p> |
|
31 | * @author <a href="mailto:rwatler@finali.com">Randy Watler</a> |
|
32 | * @version $Id: SecurityConstraintsDefImpl.java 516448 2007-03-09 16:25:47Z ate $ |
|
33 | * |
|
34 | */ |
|
35 | 0 | public class SecurityConstraintsDefImpl implements SecurityConstraintsDef |
36 | { |
|
37 | private String name; |
|
38 | ||
39 | 0 | private List constraints = new ArrayList(4); |
40 | ||
41 | /** |
|
42 | * <p> |
|
43 | * getName |
|
44 | * </p> |
|
45 | * |
|
46 | * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#getName() |
|
47 | * @return |
|
48 | */ |
|
49 | public String getName() |
|
50 | { |
|
51 | 0 | return name; |
52 | } |
|
53 | ||
54 | /** |
|
55 | * <p> |
|
56 | * setName |
|
57 | * </p> |
|
58 | * |
|
59 | * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#setName(java.lang.String) |
|
60 | * @param name |
|
61 | */ |
|
62 | public void setName(String name) |
|
63 | { |
|
64 | 0 | this.name = name; |
65 | 0 | } |
66 | ||
67 | /** |
|
68 | * <p> |
|
69 | * getSecurityConstraints |
|
70 | * </p> |
|
71 | * |
|
72 | * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#getSecurityConstraints() |
|
73 | * @return |
|
74 | */ |
|
75 | public List getSecurityConstraints() |
|
76 | { |
|
77 | 0 | return constraints; |
78 | } |
|
79 | ||
80 | /** |
|
81 | * <p> |
|
82 | * setSecurityConstraint |
|
83 | * </p> |
|
84 | * |
|
85 | * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#setSecurityConstraints(java.util.List) |
|
86 | * @param constraints |
|
87 | */ |
|
88 | public void setSecurityConstraints(List constraints) |
|
89 | { |
|
90 | 0 | this.constraints = constraints; |
91 | 0 | } |
92 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |