Class SingleFeatureMatcher
- java.lang.Object
- 
- com._1c.g5.v8.dt.compare.matching.AbstractIdBasedObjectMatcher<T,U>
- 
- com._1c.g5.v8.dt.compare.matching.AbstractObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
- 
- com._1c.g5.v8.dt.compare.matching.AbstractEmfObjectMatcher
- 
- com._1c.g5.v8.dt.compare.matching.SingleFeatureMatcher
 
 
 
 
- 
- All Implemented Interfaces:
- IEmfObjectMatcher,- IObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
 
 public class SingleFeatureMatcher extends AbstractEmfObjectMatcher A matcher based on a single feature which is interpreted as the identifier of the object.
- 
- 
Constructor SummaryConstructors Constructor Description SingleFeatureMatcher(org.eclipse.emf.ecore.EStructuralFeature feature)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectgetId(org.eclipse.emf.ecore.EObject eObject, ComparisonSide side)For the specified compared object returns its identifier.- 
Methods inherited from class com._1c.g5.v8.dt.compare.matching.AbstractEmfObjectMatchercreateComparedObjectsInstance
 - 
Methods inherited from class com._1c.g5.v8.dt.compare.matching.AbstractObjectMatchermatch
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com._1c.g5.v8.dt.compare.matching.IObjectMatchermatch
 
- 
 
- 
- 
- 
Method Detail- 
getIdprotected Object getId(org.eclipse.emf.ecore.EObject eObject, ComparisonSide side) Description copied from class:AbstractIdBasedObjectMatcherFor the specified compared object returns its identifier.- Specified by:
- getIdin class- AbstractIdBasedObjectMatcher<org.eclipse.emf.ecore.EObject,MatchedEmfObjects>
- Parameters:
- eObject- the compared object to get an identifier of its side for, cannot be- null
- side- the side of the compared object, cannot be- null
- Returns:
- identifier or nullif the side is empty
 
 
- 
 
-