S
- source typeT
- destination typeU
- intermediate typepublic class Compose<S,T,U> extends StateTransformerBean<S,T>
S
to U
with one from U
to T
Constructor and Description |
---|
Compose() |
Compose(StateTransformerBean<S,U> first,
StateTransformerBean<U,T> second) |
Modifier and Type | Method and Description |
---|---|
StateTransformerBean<S,U> |
getFirst()
First transformation from
S to U |
StateTransformerBean<U,T> |
getSecond()
Second transformation from
U to T |
void |
setFirst(StateTransformerBean<S,U> first)
First transformation from
S to U |
void |
setSecond(StateTransformerBean<U,T> second)
Second transformation from
U to T |
T |
transform(S in,
TransformationContext context) |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Compose()
public Compose(StateTransformerBean<S,U> first, StateTransformerBean<U,T> second)
public T transform(S in, TransformationContext context) throws OperationFailedException
OperationFailedException
public StateTransformerBean<S,U> getFirst()
S
to U
public void setFirst(StateTransformerBean<S,U> first)
S
to U
public StateTransformerBean<U,T> getSecond()
U
to T
public void setSecond(StateTransformerBean<U,T> second)
U
to T
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.