Class FlattenMarkerSet
- java.lang.Object
-
- com._1c.g5.v8.dt.validation.marker.FlattenMarkerSet
-
public final class FlattenMarkerSet extends Object
The flatten marker set.
It keeps the collections of markers flatten byEStructuralFeature
s.
-
-
Constructor Summary
Constructors Constructor Description FlattenMarkerSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMarker(org.eclipse.emf.ecore.EStructuralFeature feature, Marker marker)
Adds the specifiedmarker
for the specifiedfeature
into the marker set.void
addMarkers(org.eclipse.emf.ecore.EStructuralFeature feature, Marker[] markers)
Adds the specified array ofmarkers
for the specifiedfeature
into the marker set.Set<org.eclipse.emf.ecore.EStructuralFeature>
getFeatures()
Returns features for which markers are available.Collection<Marker>
getMarkers(org.eclipse.emf.ecore.EStructuralFeature feature)
Returns a collection of markers that are available for the givenfeature
in the marker set.
-
-
-
Method Detail
-
addMarker
public void addMarker(org.eclipse.emf.ecore.EStructuralFeature feature, Marker marker)
Adds the specifiedmarker
for the specifiedfeature
into the marker set.- Parameters:
feature
- the feature, cannot benull
.marker
- the marker, cannot benull
.
-
addMarkers
public void addMarkers(org.eclipse.emf.ecore.EStructuralFeature feature, Marker[] markers)
Adds the specified array ofmarkers
for the specifiedfeature
into the marker set.- Parameters:
feature
- the feature, cannot benull
.markers
- an array of marker, cannot benull
.
-
getFeatures
public Set<org.eclipse.emf.ecore.EStructuralFeature> getFeatures()
Returns features for which markers are available.- Returns:
- a set of features, never
null
.
-
getMarkers
public Collection<Marker> getMarkers(org.eclipse.emf.ecore.EStructuralFeature feature)
Returns a collection of markers that are available for the givenfeature
in the marker set.- Parameters:
feature
- the feature, cannot benull
.- Returns:
- a collection of markers, never
null
.
-
-