Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry.mojo » [javadoc | source]
    1   // Copyright 2007 The Apache Software Foundation
    2   //
    3   // Licensed under the Apache License, Version 2.0 (the "License");
    4   // you may not use this file except in compliance with the License.
    5   // You may obtain a copy of the License at
    6   //
    7   //     http://www.apache.org/licenses/LICENSE-2.0
    8   //
    9   // Unless required by applicable law or agreed to in writing, software
   10   // distributed under the License is distributed on an "AS IS" BASIS,
   11   // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   12   // See the License for the specific language governing permissions and
   13   // limitations under the License.
   14   
   15   package org.apache.tapestry.mojo;
   16   
   17   import static org.apache.tapestry5.ioc.internal.util.CollectionFactory.newMap;
   18   
   19   import java.util.Map;
   20   
   21   public class ClassDescription
   22   {
   23       private final String superClassName;
   24   
   25       private final String className;
   26   
   27       private final String description;
   28       
   29       private final boolean supportsInformalParameters;
   30   
   31       private final Map<String, ParameterDescription> parameters = newMap();
   32   
   33       public ClassDescription(String className, String superClassName, String description, boolean supportsInformalParameters)
   34       {
   35           this.className = className;
   36           this.superClassName = superClassName;
   37           this.description = description;
   38           this.supportsInformalParameters = supportsInformalParameters;
   39       }
   40   
   41       public String getClassName()
   42       {
   43           return className;
   44       }
   45   
   46       public String getDescription()
   47       {
   48           return description;
   49       }
   50   
   51       public Map<String, ParameterDescription> getParameters()
   52       {
   53           return parameters;
   54       }
   55   
   56       public String getSuperClassName()
   57       {
   58           return superClassName;
   59       }
   60   
   61   	public boolean isSupportsInformalParameters()
   62   	{
   63   		return supportsInformalParameters;
   64   	}
   65   
   66   }

Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry.mojo » [javadoc | source]