|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexgrid.loader.processor.support.AbstractRootNodeResolver
public abstract class AbstractRootNodeResolver
Constructor Summary | |
---|---|
AbstractRootNodeResolver()
|
Method Summary | |
---|---|
protected java.lang.String |
getAssociationName(java.lang.String associationPredicateId)
|
protected java.lang.String |
getCodingSchemeId(java.lang.String codingSchemeUri,
java.lang.String version)
|
CodingSchemeIdSetter |
getCodingSchemeIdSetter()
|
DatabaseServiceManager |
getDatabaseServiceManager()
|
SupportedAttributeTemplate |
getSupportedAttributeTemplate()
|
protected abstract boolean |
isHierarchicalRelation(java.lang.String relation)
Checks if is hierarchical relation. |
boolean |
isRootNode(ParentIdHolder<AssociationSource> item)
Checks if is root node. |
protected abstract boolean |
isSourceRootNode(java.lang.String code)
Construct sab root node. |
protected boolean |
pointsToRoot(ParentIdHolder<AssociationSource> item)
Points to root. |
protected boolean |
pointsToTail(ParentIdHolder<AssociationSource> item)
Points to tail. |
ParentIdHolder<AssociationSource> |
process(ParentIdHolder<AssociationSource> item)
|
protected void |
register(boolean resolveForward,
java.lang.String association,
java.lang.String rootCode)
|
void |
setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)
|
void |
setDatabaseServiceManager(DatabaseServiceManager databaseServiceManager)
|
void |
setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractRootNodeResolver()
Method Detail |
---|
public boolean isRootNode(ParentIdHolder<AssociationSource> item)
RootNodeResolver
isRootNode
in interface RootNodeResolver<ParentIdHolder<AssociationSource>>
item
- the item
protected java.lang.String getAssociationName(java.lang.String associationPredicateId)
protected java.lang.String getCodingSchemeId(java.lang.String codingSchemeUri, java.lang.String version)
public ParentIdHolder<AssociationSource> process(ParentIdHolder<AssociationSource> item) throws java.lang.Exception
process
in interface org.springframework.batch.item.ItemProcessor<ParentIdHolder<AssociationSource>,ParentIdHolder<AssociationSource>>
java.lang.Exception
protected void register(boolean resolveForward, java.lang.String association, java.lang.String rootCode)
protected boolean pointsToRoot(ParentIdHolder<AssociationSource> item)
item
- the item
protected boolean pointsToTail(ParentIdHolder<AssociationSource> item)
item
- the item
protected abstract boolean isHierarchicalRelation(java.lang.String relation)
relation
- the relation
protected abstract boolean isSourceRootNode(java.lang.String code)
public DatabaseServiceManager getDatabaseServiceManager()
public void setDatabaseServiceManager(DatabaseServiceManager databaseServiceManager)
public CodingSchemeIdSetter getCodingSchemeIdSetter()
public void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)
public void setSupportedAttributeTemplate(SupportedAttributeTemplate supportedAttributeTemplate)
public SupportedAttributeTemplate getSupportedAttributeTemplate()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |