Package uk.ac.gda.mx.ispyb.visit
Class _VisitProxy
java.lang.Object
java.util.Observable
uk.ac.diamond.datamodel.generic._Group
uk.ac.gda.mx.model.RowGroup
uk.ac.gda.mx.ispyb.visit._VisitProxy
- All Implemented Interfaces:
Element,Group,Record,VisitProxy
-
Nested Class Summary
Nested classes/interfaces inherited from class uk.ac.gda.mx.model.RowGroup
RowGroup.RowTagNested classes/interfaces inherited from interface uk.ac.gda.mx.api.base.Record
Record.RecordAttribute, Record.RecordEvent, Record.RecordEventListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCurrentVisit(boolean refresh) getVisit()voidvoidsetVisitProvider(MxVisitProvider provider) Methods inherited from class uk.ac.gda.mx.model.RowGroup
addField, addListener, clearListeners, copy, dispose, downcast, equals, errlog, factory, factory, findChildRow, findChildRowInTree, findField, flatten, getBranchRecords, getChildRows, getFields, getFieldsHashCode, getKeyFields, getKeys, getKeys, getLabel, getLeafRecords, getLeafRecords, getMetaData, getProxy, getRowSet, getRowType, getRowTypeString, hasChildRow, hashCodeFields, hasMarkedChild, hasMarkedChild, hasOpHistory, hasRowProxyData, isEquivalent, isEventsEnabled, isKeyMatch, isMarked, isMarkedTree, isRowProxyType, isShow, log, notifyRecordEvent, notifyRecordEvent, removeField, removeListener, setEventsEnabled, setField, setLabel, setMarked, setMarkedTree, setProxy, setRowType, setShowMethods inherited from class uk.ac.diamond.datamodel.generic._Group
addAttribute, addAttribute, addGroup, addVariable, addVariablesCopy, clearGroups, copy, countVariableContains, factory, factory, findAttribute, findAttributeInParentTree, findAttributeValue, findGroup, findVariable, findVariableContains, findVariableInParentTree, findVariableInSubTree, findVariableInSubTreeContains, findVariableMatch, getAttributes, getBaseType, getGroups, getName, getNameAndAttributes, getParent, getQualifiedName, getRoot, getVariables, hashCode, isParent, isRoot, remove, remove, remove, removeVariable, setAttributes, setName, setParent, setVariables, toString, toXmlMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.diamond.datamodel.Element
getBaseType, toXmlMethods inherited from interface uk.ac.diamond.datamodel.Group
addAttribute, addAttribute, addGroup, addVariable, addVariablesCopy, clearGroups, copy, countVariableContains, findAttribute, findAttributeInParentTree, findAttributeValue, findGroup, findVariable, findVariableContains, findVariableInParentTree, findVariableInSubTree, findVariableInSubTreeContains, findVariableMatch, getAttributes, getGroups, getName, getNameAndAttributes, getParent, getQualifiedName, getRoot, getVariables, isParent, isRoot, remove, remove, remove, removeVariable, setAttributes, setName, setParent, setVariables
-
Constructor Details
-
_VisitProxy
public _VisitProxy()
-
-
Method Details
-
getCurrentVisit
- Specified by:
getCurrentVisitin interfaceVisitProxy- Returns:
- visit defined by the provider
-
getCurrentVisit
- Specified by:
getCurrentVisitin interfaceVisitProxy- Parameters:
refresh- queries provider if true, using cached value otherwise- Returns:
- visit defined by the provider, optionally refreshed via provider
-
getVisit
- Specified by:
getVisitin interfaceVisitProxy- Returns:
- visit held by proxy, whether or not a provider exists
-
getVisitRecord
- Specified by:
getVisitRecordin interfaceVisitProxy
-
getVisitString
- Specified by:
getVisitStringin interfaceVisitProxy
-
setVisit
- Specified by:
setVisitin interfaceVisitProxy
-
setVisitProvider
- Specified by:
setVisitProviderin interfaceVisitProxy
-