info.sswap.impl.empire.model
Interface ProtocolImpl.MappingValidator<T>
- Type Parameters:
T
- the type that should be checked
- All Known Implementing Classes:
- ProtocolImpl.DefaultMappingValidator
- Enclosing class:
- ProtocolImpl
public static interface ProtocolImpl.MappingValidator<T>
Performs a check whether an individual from ProtocolGraph can correspond to another individual from RDG.
The concrete implementations of this class will perform specific checks for individuals (e.g.,
for subjects they will check whether the Protocol graph's subject is a subclass of the RDG's subject).
- Author:
- Blazej Bulka
Method Summary |
boolean |
isMappingValid(T protocolIndividual,
T rdgIndividual)
Checks whether it is valid to associate the individual in the Protocol graph with the individual in the RDG. |
isMappingValid
boolean isMappingValid(T protocolIndividual,
T rdgIndividual)
- Checks whether it is valid to associate the individual in the Protocol graph with the individual in the RDG.
- Parameters:
protocolIndividual
- the individual from the Protocol graph that should be checkedrdgIndividual
- the individual from the RDG that should be checked
- Returns:
- true if the two individuals can be associated
Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.