org.formaria.builder.generic
Class AttributeMapping

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

public class AttributeMapping
extends java.lang.Object

A mapping of component attributes accross the Aria components that are generated for a single file element

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.


Constructor Summary
AttributeMapping(java.lang.String srcAttrib, java.lang.String destAttrib, java.lang.String componentRef, java.lang.String value)
          Creates a new instance of AttributeMapping
 
Method Summary
 java.lang.String getComponentRef()
          Get the name of the referenced component
 java.lang.String getDestAttrib()
          Get the name of the attribute in the mapped (Aria) file format
 java.lang.String getSrcAttrib()
          Get the name of the attribute in the source file format
 java.lang.String getValue()
          Get the value of the attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeMapping

public AttributeMapping(java.lang.String srcAttrib,
                        java.lang.String destAttrib,
                        java.lang.String componentRef,
                        java.lang.String value)
Creates a new instance of AttributeMapping

Method Detail

getSrcAttrib

public java.lang.String getSrcAttrib()
Get the name of the attribute in the source file format


getDestAttrib

public java.lang.String getDestAttrib()
Get the name of the attribute in the mapped (Aria) file format


getComponentRef

public java.lang.String getComponentRef()
Get the name of the referenced component


getValue

public java.lang.String getValue()
Get the value of the attribute