View Javadoc

1   /*
2    * Copyright 2000-2001,2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.apache.jetspeed.om.profile;
18  
19  // Jetspeed imports
20  import org.apache.jetspeed.om.SecurityReference;
21  
22  /***
23   * Interface for parameters in psml
24   *
25   * 
26   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
27   * @version $Id: Parameter.java,v 1.5 2004/02/23 03:05:01 jford Exp $
28   */
29  public interface Parameter extends Cloneable
30  {
31      /*** @return name the name of the parameter */
32      public String getName();
33  
34      /*** Sets the name of this parameter
35       * @param name the parameter name
36       */
37      public void setName( String name );
38  
39      /*** @return the value of the parameter */
40      public String getValue();
41  
42      /*** Sets the value of the param
43       * @param value the value of the param
44       */
45      public void setValue( String value );
46  
47      /*** Getter for property securityRef.
48       * @return Value of property securityRef.
49       */
50      public SecurityReference getSecurityRef();
51      
52      /*** Setter for property securityRef.
53       * @param securityRef New value of property securityRef.
54       */
55      public void setSecurityRef(SecurityReference securityRef);
56  
57      /***
58       * Create a clone of this object
59       */
60      public Object clone()
61          throws java.lang.CloneNotSupportedException;
62  }