org.spicefactory.pimento.generator.ant
Class Mapping

java.lang.Object
  extended by org.spicefactory.pimento.generator.ant.Mapping

public class Mapping
extends Object

Represents a single typeMapping or packageMapping tag in a Cinnamon Generator Ant Task.

Author:
Jens Halm

Constructor Summary
Mapping()
           
 
Method Summary
 String getAs3()
          Returns the fully qualified name of the AS3 class or package.
 String getJava()
          Returns the fully qualified name of the Java class or package.
 void setAs3(String as3)
          Sets the fully qualified name of the AS3 class or package.
 void setJava(String java)
          Sets the fully qualified name of the Java class or package.
 void validate()
          Validates if all properties of this bean have been set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping

public Mapping()
Method Detail

getJava

public String getJava()
Returns the fully qualified name of the Java class or package.

Returns:
the fully qualified name of the Java class or package

setJava

public void setJava(String java)
Sets the fully qualified name of the Java class or package.

Parameters:
java - the fully qualified name of the Java class or package

getAs3

public String getAs3()
Returns the fully qualified name of the AS3 class or package.

Returns:
the fully qualified name of the AS3 class or package

setAs3

public void setAs3(String as3)
Sets the fully qualified name of the AS3 class or package.

Parameters:
as3 - the fully qualified name of the AS3 class or package

validate

public void validate()
              throws org.apache.tools.ant.BuildException
Validates if all properties of this bean have been set.

Throws:
org.apache.tools.ant.BuildException - if one of the properties of this bean have not been set.