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 aAppLayerContextrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull AppLayerSettingsReturns the value of theappLayerSettingsrecord component.final booleanIndicates whether some other object is "equal to" this one.@Null FeatureTypeRefReturns the value of thefeatureTypeRefrecord component.@NotNull GeoServiceReturns the value of thegeoServicerecord component.@NotNull GeoServiceLayerReturns the value of thegeoServiceLayerrecord component.final inthashCode()Returns a hash code value for this object.@NotNull AppTreeLayerNodenode()Returns the value of thenoderecord component.final StringtoString()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 aAppLayerContextrecord class.- Parameters:
node- the value for thenoderecord componentappLayerSettings- the value for theappLayerSettingsrecord componentgeoService- the value for thegeoServicerecord componentgeoServiceLayer- the value for thegeoServiceLayerrecord componentfeatureTypeRef- the value for thefeatureTypeRefrecord 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 thenoderecord component.- Returns:
- the value of the
noderecord component
-
appLayerSettings
Returns the value of theappLayerSettingsrecord component.- Returns:
- the value of the
appLayerSettingsrecord component
-
geoService
Returns the value of thegeoServicerecord component.- Returns:
- the value of the
geoServicerecord component
-
geoServiceLayer
Returns the value of thegeoServiceLayerrecord component.- Returns:
- the value of the
geoServiceLayerrecord component
-
featureTypeRef
Returns the value of thefeatureTypeRefrecord component.- Returns:
- the value of the
featureTypeRefrecord component
-