|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.planets_project.services.datatypes.MigrationPath
public final class MigrationPath
Simple class to build path matrices from. Contains the input and outputs of the path, and allows for parameters for that mapping.
| Constructor Summary | |
|---|---|
MigrationPath(java.net.URI in,
java.net.URI out,
java.util.List<Parameter> pars)
Parameterised constructor. |
|
| Method Summary | |
|---|---|
static java.util.List<MigrationPath> |
constructPaths(java.util.Set<java.net.URI> inputFormats,
java.util.Set<java.net.URI> outputFormats)
Construct an array of migration paths, linking all the formats in input formats to all the formats in output formats. |
static java.util.List<MigrationPath> |
constructPathsWithParams(java.util.Set<java.net.URI> inputformats,
java.util.Set<java.net.URI> outputFormats,
java.util.List<Parameter> params)
Construct an array of migrationpaths, linking all the formats in inputformas to all the formats in outputformats. |
boolean |
equals(java.lang.Object obj)
|
java.net.URI |
getInputFormat()
|
java.net.URI |
getOutputFormat()
|
java.util.List<Parameter> |
getParameters()
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MigrationPath(java.net.URI in,
java.net.URI out,
java.util.List<Parameter> pars)
in - The input formatout - The output formatpars - The parameters| Method Detail |
|---|
public java.net.URI getInputFormat()
public java.net.URI getOutputFormat()
public java.util.List<Parameter> getParameters()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public static java.util.List<MigrationPath> constructPaths(java.util.Set<java.net.URI> inputFormats,
java.util.Set<java.net.URI> outputFormats)
inputFormats - The allowed input formatsoutputFormats - The allowed output formats
public static java.util.List<MigrationPath> constructPathsWithParams(java.util.Set<java.net.URI> inputformats,
java.util.Set<java.net.URI> outputFormats,
java.util.List<Parameter> params)
inputformats - The allowed inputformatsoutputFormats - The allowed outputformatsparams - the parameters for this migration path.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||