All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geomajas.sld.geometry.InnerBoundaryIsInfo Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the Apache
 * License, Version 2.0. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */
package org.geomajas.sld.geometry;

import java.io.Serializable;
import org.geomajas.annotation.Api;

/**
 * Schema fragment(s) for this class:...
 * 
 * 
 * <xs:element
 * xmlns:ns="http://www.opengis.net/gml"
 * 
 * xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:GeometryAssociationType" name="innerBoundaryIs"/>
 * 
* * @author Jan De Moerloose * @since 1.0.0 */ @Api(allMethods = true) public class InnerBoundaryIsInfo extends GeometryAssociationTypeInfo implements Serializable { private static final long serialVersionUID = 100; private LinearRingTypeInfo linearRing; /** * Get the linear ring describing the inner boundary. * * @return the linear ring */ public LinearRingTypeInfo getLinearRing() { return linearRing; } /** * Set the linear ring describing the inner boundary. * * @param linearRing the linear ring */ public void setLinearRing(LinearRingTypeInfo linearRing) { this.linearRing = linearRing; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "InnerBoundaryIsInfo(linearRing=" + this.getLinearRing() + ")"; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { if (o == this) { return true; } if (!(o instanceof InnerBoundaryIsInfo)) { return false; } final InnerBoundaryIsInfo other = (InnerBoundaryIsInfo) o; if (!other.canEqual((java.lang.Object) this)) { return false; } if (!super.equals(o)) { return false; } if (this.getLinearRing() == null ? other.getLinearRing() != null : !this.getLinearRing().equals( (java.lang.Object) other.getLinearRing())) { return false; } return true; } /** {@inheritDoc} */ @java.lang.SuppressWarnings("all") public boolean canEqual(final java.lang.Object other) { return other instanceof InnerBoundaryIsInfo; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { final int prime = 31; int result = 1; result = result * prime + super.hashCode(); result = result * prime + (this.getLinearRing() == null ? 0 : this.getLinearRing().hashCode()); return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy