01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: public class SecurityConstraintsDefImpl implements
36: SecurityConstraintsDef {
37: private String name;
38:
39: 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: return name;
51: }
52:
53: /**
54: * <p>
55: * setName
56: * </p>
57: *
58: * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#setName(java.lang.String)
59: * @param name
60: */
61: public void setName(String name) {
62: this .name = name;
63: }
64:
65: /**
66: * <p>
67: * getSecurityConstraints
68: * </p>
69: *
70: * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#getSecurityConstraints()
71: * @return
72: */
73: public List getSecurityConstraints() {
74: return constraints;
75: }
76:
77: /**
78: * <p>
79: * setSecurityConstraint
80: * </p>
81: *
82: * @see org.apache.jetspeed.om.common.SecurityConstraintsDef#setSecurityConstraints(java.util.List)
83: * @param constraints
84: */
85: public void setSecurityConstraints(List constraints) {
86: this.constraints = constraints;
87: }
88: }
|