Record Class ViewerHelper.AppLayerContext
java.lang.Object
java.lang.Record
org.tailormap.api.persistence.helper.ViewerHelper.AppLayerContext
- Enclosing class:
ViewerHelper
public static record ViewerHelper.AppLayerContext(@NotNull AppTreeLayerNode node, @NotNull AppLayerSettings appLayerSettings, @NotNull GeoService geoService, @NotNull GeoServiceLayer geoServiceLayer, @Null FeatureTypeRef featureTypeRef)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAppLayerContext
(@NotNull AppTreeLayerNode node, @NotNull AppLayerSettings appLayerSettings, @NotNull GeoService geoService, @NotNull GeoServiceLayer geoServiceLayer, @Null FeatureTypeRef featureTypeRef) Creates an instance of aAppLayerContext
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull AppLayerSettings
Returns the value of theappLayerSettings
record component.final boolean
Indicates whether some other object is "equal to" this one.@Null FeatureTypeRef
Returns the value of thefeatureTypeRef
record component.@NotNull GeoService
Returns the value of thegeoService
record component.@NotNull GeoServiceLayer
Returns the value of thegeoServiceLayer
record component.final int
hashCode()
Returns a hash code value for this object.@NotNull AppTreeLayerNode
node()
Returns the value of thenode
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AppLayerContext
public AppLayerContext(@NotNull @NotNull AppTreeLayerNode node, @NotNull @NotNull AppLayerSettings appLayerSettings, @NotNull @NotNull GeoService geoService, @NotNull @NotNull GeoServiceLayer geoServiceLayer, @Null @Null FeatureTypeRef featureTypeRef) Creates an instance of aAppLayerContext
record class.- Parameters:
node
- the value for thenode
record componentappLayerSettings
- the value for theappLayerSettings
record componentgeoService
- the value for thegeoService
record componentgeoServiceLayer
- the value for thegeoServiceLayer
record componentfeatureTypeRef
- the value for thefeatureTypeRef
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
node
Returns the value of thenode
record component.- Returns:
- the value of the
node
record component
-
appLayerSettings
Returns the value of theappLayerSettings
record component.- Returns:
- the value of the
appLayerSettings
record component
-
geoService
Returns the value of thegeoService
record component.- Returns:
- the value of the
geoService
record component
-
geoServiceLayer
Returns the value of thegeoServiceLayer
record component.- Returns:
- the value of the
geoServiceLayer
record component
-
featureTypeRef
Returns the value of thefeatureTypeRef
record component.- Returns:
- the value of the
featureTypeRef
record component
-