Coverage Report - org.apache.tiles.request.attribute.Addable
 
Classes in this File Line Coverage Branch Coverage Complexity
Addable
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: Addable.java 1215004 2011-12-16 00:29:25Z nlebas $
 3  
  *
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "License"); you may not use this file except in compliance
 10  
  * with the License.  You may obtain a copy of the License at
 11  
  *
 12  
  * http://www.apache.org/licenses/LICENSE-2.0
 13  
  *
 14  
  * Unless required by applicable law or agreed to in writing,
 15  
  * software distributed under the License is distributed on an
 16  
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 17  
  * KIND, either express or implied.  See the License for the
 18  
  * specific language governing permissions and limitations
 19  
  * under the License.
 20  
  */
 21  
 package org.apache.tiles.request.attribute;
 22  
 
 23  
 /**
 24  
  * Allows to get and set attributes.
 25  
  *
 26  
  * @version $Rev: 1215004 $ $Date: 2011-12-16 11:29:25 +1100 (Fri, 16 Dec 2011) $
 27  
  * @param <V> The type of the value of the attribute.
 28  
  */
 29  
 public interface Addable<V> {
 30  
 
 31  
     /**
 32  
      * Sets a value for the given key.
 33  
      *
 34  
      * @param key The key of the attribute.
 35  
      * @param value The value of the attribute.
 36  
      */
 37  
     void setValue(String key, V value);
 38  
 }