Class AnyToAnyModelTransformation.RelationsSearchRule
- java.lang.Object
-
- com.nomagic.magicdraw.modeltransformations.impl.any_to_any.AnyToAnyModelTransformation.RelationsSearchRule
-
- All Implemented Interfaces:
com.nomagic.magicdraw.search.SearchRule
- Enclosing class:
- AnyToAnyModelTransformation
private class AnyToAnyModelTransformation.RelationsSearchRule extends java.lang.Object implements com.nomagic.magicdraw.search.SearchRule
-
-
Field Summary
Fields Modifier and Type Field Description private com.nomagic.magicdraw.modeltransformations.ModelTransformationProfile
modelTransformationProfile
(package private) java.util.Collection<Element>
objects
private boolean
update
-
Constructor Summary
Constructors Constructor Description RelationsSearchRule(Project project, java.util.Collection<Element> objects, boolean update)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
boolean
isLegal(BaseElement e)
-
-
-
Field Detail
-
objects
java.util.Collection<Element> objects
-
update
private final boolean update
-
modelTransformationProfile
private final com.nomagic.magicdraw.modeltransformations.ModelTransformationProfile modelTransformationProfile
-
-
Method Detail
-
isLegal
public boolean isLegal(BaseElement e)
- Specified by:
isLegal
in interfacecom.nomagic.magicdraw.search.SearchRule
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.nomagic.magicdraw.search.SearchRule
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.nomagic.magicdraw.search.SearchRule
- Overrides:
equals
in classjava.lang.Object
-
-