org.formaria.builder.generic
Class TypeMapping

java.lang.Object
  extended by org.formaria.builder.generic.TypeMapping

public class TypeMapping
extends java.lang.Object

A mapping for an individual component type

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.


Field Summary
 boolean isMain
           
 java.lang.String name
           
 int span
           
 java.lang.String typeName
           
 
Constructor Summary
TypeMapping(java.lang.String typeName, java.lang.String name, int span, boolean isMain)
          Creates a new instance of TypeMapping
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeName

public java.lang.String typeName

name

public java.lang.String name

span

public int span

isMain

public boolean isMain
Constructor Detail

TypeMapping

public TypeMapping(java.lang.String typeName,
                   java.lang.String name,
                   int span,
                   boolean isMain)
Creates a new instance of TypeMapping

Parameters:
typeName - the name of the Aria component type
name - the name by which this type mapping is referenced
span - the number of components this component contains