public class MrdocAssociationProcessor extends CodingSchemeIdAwareProcessor implements org.springframework.batch.item.ItemProcessor<java.util.List<Mrdoc>,java.util.List<CodingSchemeIdHolder<AssociationEntity>>>
Constructor and Description |
---|
MrdocAssociationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected AssociationEntity |
buildAssociationEntity(java.lang.String relationName,
java.lang.String reverseName,
java.lang.String expandedName)
Builds the association.
|
SupportedAttributeTemplate |
getSupportedAttributeTemplate()
Gets the supported attribute template.
|
protected boolean |
isTransitive(java.lang.String relationName)
Checks if is transitive.
|
java.util.List<CodingSchemeIdHolder<AssociationEntity>> |
process(java.util.List<Mrdoc> items) |
void |
setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
Sets the supported attribute template.
|
getCodingSchemeIdSetter, setCodingSchemeIdSetter
public java.util.List<CodingSchemeIdHolder<AssociationEntity>> process(java.util.List<Mrdoc> items) throws java.lang.Exception
process
in interface org.springframework.batch.item.ItemProcessor<java.util.List<Mrdoc>,java.util.List<CodingSchemeIdHolder<AssociationEntity>>>
java.lang.Exception
protected AssociationEntity buildAssociationEntity(java.lang.String relationName, java.lang.String reverseName, java.lang.String expandedName)
containerName
- the container namerelationName
- the relation namereverseName
- the reverse nameexpandedName
- the expanded nameprotected boolean isTransitive(java.lang.String relationName)
relationName
- the relation namepublic SupportedAttributeTemplate getSupportedAttributeTemplate()
public void setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
supportedAttributeTemplate
- the new supported attribute template