public class RelatedEntityJSONTransformer extends Object implements FunctionTransformer
List
of String input into a format that can be flexible enough to describe the relation to other Entities
using any identifier like SKU, Product Code, Model Code etc. (for a Product)
RelatdEntityReverseJSONTransformer
Constructor and Description |
---|
RelatedEntityJSONTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getEntityIdentifier()
The name used to identify a fellow identity uniquely, that is part of this Entity set/group
|
boolean |
isPackAsArray() |
void |
setEntityIdentifier(String entityIdentifier)
The name used to identify a fellow identity uniquely, that is part of this Entity set/group
|
void |
setPackAsArray(boolean packAsArray) |
Object |
transform(Object input) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public String getEntityIdentifier()
public void setEntityIdentifier(String entityIdentifier)
public boolean isPackAsArray()
public void setPackAsArray(boolean packAsArray)
Copyright © 2018. All rights reserved.