Package com.nomagic.magicdraw.validation
Class Scope
- java.lang.Object
-
- com.nomagic.magicdraw.validation.Scope
-
@OpenApiAll public class Scope extends java.lang.Object
Validation scope. Defines root elements and/or diagrams to validate.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<DiagramPresentationElement>
diagrams
private java.util.Collection<Element>
rootElements
-
Constructor Summary
Constructors Constructor Description Scope(java.util.Collection<Element> rootElements, java.util.Collection<DiagramPresentationElement> diagrams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Collection<DiagramPresentationElement>
getDiagrams()
java.util.Collection<Element>
getRootElements()
int
hashCode()
-
-
-
Field Detail
-
rootElements
private final java.util.Collection<Element> rootElements
-
diagrams
private final java.util.Collection<DiagramPresentationElement> diagrams
-
-
Constructor Detail
-
Scope
public Scope(java.util.Collection<Element> rootElements, java.util.Collection<DiagramPresentationElement> diagrams)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getRootElements
public java.util.Collection<Element> getRootElements()
-
getDiagrams
public java.util.Collection<DiagramPresentationElement> getDiagrams()
-
-