org.andromda.core.configuration
Class Transformation

java.lang.Object
  extended by org.andromda.core.configuration.Transformation
All Implemented Interfaces:
java.io.Serializable

public class Transformation
extends java.lang.Object
implements java.io.Serializable

Stores the information about a transformation. Transformations are applied to model(s) before actual model processing occurs.

Author:
Chad Brandon
See Also:
Serialized Form

Constructor Summary
Transformation()
           
 
Method Summary
 java.lang.String getOutputLocation()
          Gets the location to which the output of the transformation result will be written.
 java.lang.String getUri()
          The URL of the model.
 void setOutputLocation(java.lang.String outputLocation)
          Sets the location to which the result of this transformation should be written.
 void setUri(java.lang.String uri)
          Sets the URL of the transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transformation

public Transformation()
Method Detail

setUri

public void setUri(java.lang.String uri)
Sets the URL of the transformation.

Parameters:
uri - the URL to the transformation.

getUri

public java.lang.String getUri()
The URL of the model.

Returns:
Returns the uri.

setOutputLocation

public void setOutputLocation(java.lang.String outputLocation)
Sets the location to which the result of this transformation should be written. This is optional, if this is unspecified then the result is not written but just passed in memory to the processor.

Parameters:
outputLocation - the location of the output to be written.

getOutputLocation

public java.lang.String getOutputLocation()
Gets the location to which the output of the transformation result will be written.

Returns:
the output location.


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.