public class PerfActTransformation extends Object implements Transformation
Modifier and Type | Class and Description |
---|---|
private class |
PerfActTransformation.Trans |
Modifier and Type | Field and Description |
---|---|
(package private) PerfActTransformation.Trans |
fromV |
(package private) PerfActTransformation.Trans |
toV |
private static CasaLispOperator |
TRANSFORM_STRING
Lisp operator: (TRANSFORM-STRING)
Return the class name of the agent. |
private static CasaLispOperator |
TRANSFORMATION
Lisp operator: (TRANSFORMATION)
Return the class name of the agent. |
private static CasaLispOperator |
TRANSFORMATION__GET_FROM
Lisp operator: (TRANSFORMATION.GET_FROM)
Return the class name of the agent. |
private static CasaLispOperator |
TRANSFORMATION__GET_TO
Lisp operator: (TRANSFORMATION.GET_TO)
Return the class name of the agent. |
Constructor and Description |
---|
PerfActTransformation(String from,
String to) |
PerfActTransformation(Vector<String> from,
Vector<String> to) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Transformation o) |
String |
from() |
boolean |
isApplicable(Describable e) |
Describable |
revTransform(Describable e) |
String |
revTransform(String e) |
String |
to() |
String |
toString() |
private Describable |
trans(Describable e,
Vector<String> from,
Vector<String> to) |
private String |
trans(String s,
Vector<String> from,
Vector<String> to) |
Describable |
transform(Describable e) |
String |
transform(String e) |
PerfActTransformation.Trans fromV
PerfActTransformation.Trans toV
private static final CasaLispOperator TRANSFORMATION
private static final CasaLispOperator TRANSFORMATION__GET_FROM
private static final CasaLispOperator TRANSFORMATION__GET_TO
private static final CasaLispOperator TRANSFORM_STRING
public boolean isApplicable(Describable e)
isApplicable
in interface Transformation
private Describable trans(Describable e, Vector<String> from, Vector<String> to)
public Describable transform(Describable e)
transform
in interface Transformation
public Describable revTransform(Describable e)
revTransform
in interface Transformation
public String transform(String e)
transform
in interface Transformation
public String revTransform(String e)
revTransform
in interface Transformation
public String from()
from
in interface Transformation
public String to()
to
in interface Transformation
public int compareTo(Transformation o)
compareTo
in interface Comparable<Transformation>