public static class CompositeInstanceContext.Selector
extends java.lang.Object
A class to select which entities are copied or propagated or removed or not during operations on CompositeInstanceContext.
Modifier and Type | Field and Description |
---|---|
boolean |
equipment |
boolean |
frameOfReference |
boolean |
instance |
boolean |
patient |
boolean |
series |
boolean |
srDocumentGeneral |
boolean |
study |
Constructor and Description |
---|
Selector(boolean allSelected)
Construct a selector with all modules selected or not selected.
|
Selector(java.lang.String[] arg,
java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only modules named in arguments selected.
|
public boolean equipment
public boolean frameOfReference
public boolean instance
public boolean patient
public boolean series
public boolean srDocumentGeneral
public boolean study
public Selector(boolean allSelected)
Construct a selector with all modules selected or not selected.
allSelected
- true if all modules are selected rather than not selected on constructionpublic Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only modules named in arguments selected.
Used to decode selectors from command line arguments.
Strings recognized are -patient|-study|-equipment|-frameofreference|-series|-instance|srdocumentgeneral.
arg
- command line argumentsremainder
- empty list to add remaining command line arguments after anything used was removed