Class OverlapNode
java.lang.Object
org.qubership.atp.dataset.service.jpa.model.tree.OverlapNode
- All Implemented Interfaces:
Serializable
Overlap model. Makes hierarchy from attribute keys. Repeats DSL structure.
If overlap already exists for some parameter,
that means it was overlapped by some DSL from higher level, so we will ignore it.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOverlap(List<UUID> path, int columnNumber, AttributeKey attributeKey) New overlap to structure.booleancontainsOverlapsInPath(List<UUID> path, int column) True if there is any overlaps by path OR deeper.getOverlap(List<UUID> path, int column, UUID attributeId) Returns overlap by parameter context.
-
Constructor Details
-
OverlapNode
Default constructor.
-
-
Method Details
-
addOverlap
New overlap to structure. If field already overlapped - operation will skipped, to save hierarchy multiple overlaps. -
getOverlap
Returns overlap by parameter context. -
containsOverlapsInPath
True if there is any overlaps by path OR deeper.
-