public class Transformation
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Invoke> |
mInvokes |
protected java.lang.String |
mName
Name of the transformation
|
protected java.lang.String |
mNamespace
Namespace of the Transformation
|
protected java.util.List<CatalogType> |
mUses
List of executable of files used by the transformation
|
protected java.lang.String |
mVersion
Version of the transformation
|
| Constructor and Description |
|---|
Transformation(java.lang.String name)
Create a new Transformation object
|
Transformation(java.lang.String namespace,
java.lang.String name,
java.lang.String version)
Create a new Transformation Object
|
Transformation(Transformation t)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Transformation |
addInvoke(Invoke.WHEN when,
java.lang.String what)
Add a Notification for this Transformation
|
Transformation |
addInvoke(Invoke invoke)
Add a Notification for this Transformation
|
Transformation |
addInvokes(java.util.List<Invoke> invokes)
Add a List of Notifications for this Transformation
|
Transformation |
addNotification(Invoke.WHEN when,
java.lang.String what)
Add a Notification for this Transformation same as addInvoke()
|
Transformation |
addNotifications(java.util.List<Invoke> invokes)
Add a List of Notifications for this Transformation.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Invoke> |
getInvoke()
Return the list of Notification objects
|
java.lang.String |
getName()
Get the name of the transformation
|
java.lang.String |
getNamespace()
Get the namespace of the transformation
|
java.util.List<Invoke> |
getNotification()
Return the list of Notification objects (same as getInvoke()
|
java.util.List<CatalogType> |
getUses()
Get the List of files and/or executables being used by the transformation
|
java.lang.String |
getVersion()
Get the version of the transformation
|
int |
hashCode() |
java.lang.String |
toString() |
void |
toXML(XMLWriter writer) |
void |
toXML(XMLWriter writer,
int indent) |
Transformation |
uses(CatalogType fileorexecutable)
Set the file or executable being used by the transformation
|
Transformation |
uses(java.util.List<CatalogType> filesorexecutables)
Set the List of files and/or executables being used by the transformation
|
protected java.lang.String mNamespace
protected java.lang.String mName
protected java.lang.String mVersion
protected java.util.List<CatalogType> mUses
protected java.util.List<Invoke> mInvokes
public Transformation(java.lang.String name)
name - public Transformation(Transformation t)
t - public Transformation(java.lang.String namespace,
java.lang.String name,
java.lang.String version)
namespace - name - version - public java.lang.String getName()
public java.lang.String getNamespace()
public java.lang.String getVersion()
public java.util.List<Invoke> getInvoke()
public java.util.List<Invoke> getNotification()
public Transformation addInvoke(Invoke.WHEN when, java.lang.String what)
when - what - public Transformation addNotification(Invoke.WHEN when, java.lang.String what)
when - what - public Transformation addInvoke(Invoke invoke)
invoke - public Transformation addInvokes(java.util.List<Invoke> invokes)
invokes - public Transformation addNotifications(java.util.List<Invoke> invokes)
invokes - public Transformation uses(CatalogType fileorexecutable)
fileorexecutable - public Transformation uses(java.util.List<CatalogType> filesorexecutables)
filesorexecutables - public java.util.List<CatalogType> getUses()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toXML(XMLWriter writer)
public void toXML(XMLWriter writer, int indent)