Package com.nomagic.magicdraw.validation
Class Scope
- java.lang.Object
 - 
- com.nomagic.magicdraw.validation.Scope
 
 
- 
@OpenApiAll public class Scope extends java.lang.ObjectValidation scope. Defines root elements and/or diagrams to validate. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<DiagramPresentationElement>diagramsprivate 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 booleanequals(java.lang.Object o)java.util.Collection<DiagramPresentationElement>getDiagrams()java.util.Collection<Element>getRootElements()inthashCode() 
 - 
 
- 
- 
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:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
getRootElements
public java.util.Collection<Element> getRootElements()
 
- 
getDiagrams
public java.util.Collection<DiagramPresentationElement> getDiagrams()
 
 - 
 
 -