Class FormEntityCounterpartComparer
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.extension.FormEntityCounterpartComparer
-
public class FormEntityCounterpartComparer extends Object
Comparer for the given formEObject
and it's direct counterpart from another form. Direct counterpart must have the same name, id and path.
-
-
Constructor Summary
Constructors Constructor Description FormEntityCounterpartComparer(Form targetForm, org.eclipse.emf.ecore.EObject target)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.eclipse.emf.ecore.EStructuralFeature>
getNonEqualFeatures()
boolean
isEqualParts()
Returnstrue
if the given object is equals with the corresponding counterpart.
-
-
-
Constructor Detail
-
FormEntityCounterpartComparer
public FormEntityCounterpartComparer(Form targetForm, org.eclipse.emf.ecore.EObject target)
Constructor.- Parameters:
targetForm
- form to counterpart object search-in, cannot benull
target
- the formEObject
for lookup, cannot benull
-
-
Method Detail
-
isEqualParts
public boolean isEqualParts()
Returnstrue
if the given object is equals with the corresponding counterpart.- Returns:
true
if the given object is equals with the corresponding counterpart.
-
getNonEqualFeatures
public Collection<org.eclipse.emf.ecore.EStructuralFeature> getNonEqualFeatures()
-
-