org.rubato.rubettes.bigbang.model.denotators
Class TransformationPaths

java.lang.Object
  extended by org.rubato.rubettes.bigbang.model.denotators.TransformationPaths

public class TransformationPaths
extends java.lang.Object


Field Summary
static java.lang.String TRANSFORMATION_PATHS_TAG
           
 
Constructor Summary
TransformationPaths()
           
TransformationPaths(XMLReader reader, org.w3c.dom.Element element)
           
 
Method Summary
 void addSinglePathToNewCodomainDimension(DenotatorPath path)
           
 void addSinglePathToNewDomainDimension(DenotatorPath path)
           
 boolean equals(java.lang.Object object)
           
 int getCodomainDim()
           
 DenotatorPath getCodomainPath(int dimensionIndex, Denotator denotator)
           
 int getDomainDim()
           
 DenotatorPath getDomainPath(int dimensionIndex, Denotator denotator)
           
 int[] getXYCoordinates()
           
 void setCodomainPaths(int dimensionIndex, java.util.List<DenotatorPath> paths)
           
 void setDomainPaths(int dimensionIndex, java.util.List<DenotatorPath> paths)
           
 void setXYCoordinates(int[] selectedCoordinates)
           
 java.lang.String toString()
           
 void toXML(XMLWriter writer)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRANSFORMATION_PATHS_TAG

public static final java.lang.String TRANSFORMATION_PATHS_TAG
See Also:
Constant Field Values
Constructor Detail

TransformationPaths

public TransformationPaths()

TransformationPaths

public TransformationPaths(XMLReader reader,
                           org.w3c.dom.Element element)
Method Detail

setXYCoordinates

public void setXYCoordinates(int[] selectedCoordinates)

getXYCoordinates

public int[] getXYCoordinates()

addSinglePathToNewDomainDimension

public void addSinglePathToNewDomainDimension(DenotatorPath path)

addSinglePathToNewCodomainDimension

public void addSinglePathToNewCodomainDimension(DenotatorPath path)

setDomainPaths

public void setDomainPaths(int dimensionIndex,
                           java.util.List<DenotatorPath> paths)

setCodomainPaths

public void setCodomainPaths(int dimensionIndex,
                             java.util.List<DenotatorPath> paths)

getDomainPath

public DenotatorPath getDomainPath(int dimensionIndex,
                                   Denotator denotator)
Returns:
the first path of the given dimension of the domain that is appropriate for the given denotator, null if there is none or the dimension is not present

getCodomainPath

public DenotatorPath getCodomainPath(int dimensionIndex,
                                     Denotator denotator)
Returns:
the first path of the given dimension of the codomain that is appropriate for the given denotator, null if there is none or the dimension is not present

getDomainDim

public int getDomainDim()

getCodomainDim

public int getCodomainDim()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

toXML

public void toXML(XMLWriter writer)