|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.Impl.pagedgraph.AbstractCodedNodeGraph
org.LexGrid.LexBIG.Impl.pagedgraph.AbstractMultiGraph
public abstract class AbstractMultiGraph
The Class AbstractMultiGraph.
Constructor Summary | |
---|---|
AbstractMultiGraph()
|
|
AbstractMultiGraph(CodedNodeGraph graph1,
CodedNodeGraph graph2)
Instantiates a new union graph. |
Method Summary | |
---|---|
CodedNodeGraph |
getGraph1()
Gets the graph1. |
CodedNodeGraph |
getGraph2()
Gets the graph2. |
CodedNodeGraph |
restrictToAnonymous(java.lang.Boolean restrictToAnonymous)
Return a graph that contains only the codes that are either Anonymous, Non-Anonymous, or Not Specified in the supplied list, and all edges that still have a source and target code remaining. |
CodedNodeGraph |
restrictToAssociations(NameAndValueList association,
NameAndValueList associationQualifiers)
Restrict the graph to the nodes that participate as a source or target of the named association and, if supplied, the named association qualifiers. |
CodedNodeGraph |
restrictToCodes(CodedNodeSet codes)
Return a graph that contains only the codes that are present in the supplied list, and all edges that still have a source and target code remaining. |
CodedNodeGraph |
restrictToCodeSystem(java.lang.String codingScheme)
Restrict the graph to codes (source and target) that originate from the supplied code system. |
CodedNodeGraph |
restrictToDirectionalNames(NameAndValueList directionalNames,
NameAndValueList associationQualifiers)
Restrict the graph to the nodes that participate as a source or target of an association whose directional name matches the one provided and, if supplied, the named association qualifiers. |
CodedNodeGraph |
restrictToEntityTypes(LocalNameList localNameList)
Return a graph that contains only the codes that contain an Entity Type in the supplied list, and all edges that still have a source and target code remaining. |
CodedNodeGraph |
restrictToSourceCodes(CodedNodeSet codes)
Restrict the graph to associations that have one of the codes in the supplied list as source codes. |
CodedNodeGraph |
restrictToSourceCodeSystem(java.lang.String codingScheme)
Restrict the graph to edges that have codes from the specified code system as a source. |
CodedNodeGraph |
restrictToTargetCodes(CodedNodeSet codes)
Restrict the graph to associations that have one of the codes in the supplied list as target codes. |
CodedNodeGraph |
restrictToTargetCodeSystem(java.lang.String codingScheme)
Restrict the graph to edges that have codes from the specified code system as a target. |
void |
setGraph1(CodedNodeGraph graph1)
Sets the graph1. |
void |
setGraph2(CodedNodeGraph graph2)
Sets the graph2. |
Methods inherited from class org.LexGrid.LexBIG.Impl.pagedgraph.AbstractCodedNodeGraph |
---|
doResolveAsList, getLogger, intersect, isCodeInGraph, listCodeRelationships, resolveAsList, resolveAsList, resolveAsList, union |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.LexGrid.LexBIG.LexBIGService.CodedNodeGraph |
---|
areCodesRelated, listCodeRelationships, toNodeList |
Constructor Detail |
---|
public AbstractMultiGraph()
public AbstractMultiGraph(CodedNodeGraph graph1, CodedNodeGraph graph2)
graph1
- the graph1graph2
- the graph2Method Detail |
---|
public CodedNodeGraph restrictToAssociations(NameAndValueList association, NameAndValueList associationQualifiers) throws LBInvocationException, LBParameterException
CodedNodeGraph
association
- List of associations used to restrict the graph. The name and
value for each item in the list will be compared against the
id and URI of supported associations for participating
coding schemes.associationQualifiers
- If supplied, restriction only applies to associations that are
qualified by one or more of the supplied qualifiers. The name
and value for each item in the list will be compared against
the id and URI of supported association qualifiers for
participating coding schemes.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
CodedNodeGraph
codingScheme
- The local name or URI of the coding scheme to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
CodedNodeGraph
codes
- Codes to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToDirectionalNames(NameAndValueList directionalNames, NameAndValueList associationQualifiers) throws LBInvocationException, LBParameterException
CodedNodeGraph
directionalNames
- List of directionalNames used to restrict the graph. A
directional name is compared against the forward and reverse
names for defined associations. If a given name matches more
than one forward or reverse label, all corresponding
associations are included in the restriction.associationQualifiers
- If supplied, restriction only applies to associations that are
qualified by one or more of the supplied qualifiers. The name
and value for each item in the list will be compared against
the id and URI of supported association qualifiers for
participating coding schemes.
LBInvocationException
- ,LBParameterException
LBParameterException
public CodedNodeGraph restrictToSourceCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
CodedNodeGraph
codingScheme
- The local name or URI of the coding scheme to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToSourceCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
CodedNodeGraph
codes
- Codes to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToTargetCodeSystem(java.lang.String codingScheme) throws LBInvocationException, LBParameterException
CodedNodeGraph
codingScheme
- The local name or URI of the coding scheme to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToTargetCodes(CodedNodeSet codes) throws LBInvocationException, LBParameterException
CodedNodeGraph
codes
- Codes to filter on.
LBInvocationException
LBParameterException
public CodedNodeGraph restrictToAnonymous(java.lang.Boolean restrictToAnonymous) throws LBInvocationException, LBParameterException
CodedNodeGraph
LBInvocationException
- the LB invocation exception
LBParameterException
- the LB parameter exceptionpublic CodedNodeGraph restrictToEntityTypes(LocalNameList localNameList) throws LBInvocationException, LBParameterException
CodedNodeGraph
localNameList
- the local name list
LBInvocationException
- the LB invocation exception
LBParameterException
- the LB parameter exceptionpublic CodedNodeGraph getGraph1()
public void setGraph1(CodedNodeGraph graph1)
graph1
- the new graph1public CodedNodeGraph getGraph2()
public void setGraph2(CodedNodeGraph graph2)
graph2
- the new graph2
|
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 |