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

org.geomajas.sld.LayerFeatureConstraintsInfo Maven / Gradle / Ivy

/*
 * 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;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.geomajas.annotation.Api;

/**
 * 
 LayerFeatureConstraints define what features & feature types are referenced in a layer.
 * 
 * 
 * Schema fragment(s) for this class:...
 * 
 * 
 * <xs:element
 * xmlns:ns="http://www.opengis.net/sld" 
 * 
 * xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LayerFeatureConstraints">
 *   <xs:complexType>
 *     <xs:sequence>
 *       <xs:element ref="ns:FeatureTypeConstraint" maxOccurs="unbounded"/>
 *     </xs:sequence>
 *   </xs:complexType>
 * </xs:element>
 * 
* * @author Jan De Moerloose * @since 1.0.0 */ @Api(allMethods = true) public class LayerFeatureConstraintsInfo implements Serializable { private static final long serialVersionUID = 100; private List featureTypeConstraintList = new ArrayList(); /** * Get the list of 'FeatureTypeConstraint' element items. * * @return list */ public List getFeatureTypeConstraintList() { return featureTypeConstraintList; } /** * Set the list of 'FeatureTypeConstraint' element items. * * @param list */ public void setFeatureTypeConstraintList(List list) { featureTypeConstraintList = list; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "LayerFeatureConstraintsInfo(featureTypeConstraintList=" + this.getFeatureTypeConstraintList() + ")"; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public boolean equals(final java.lang.Object o) { if (o == this) { return true; } if (!(o instanceof LayerFeatureConstraintsInfo)) { return false; } final LayerFeatureConstraintsInfo other = (LayerFeatureConstraintsInfo) o; if (!other.canEqual((java.lang.Object) this)) { return false; } if (this.getFeatureTypeConstraintList() == null ? other.getFeatureTypeConstraintList() != null : !this .getFeatureTypeConstraintList().equals((java.lang.Object) other.getFeatureTypeConstraintList())) { return false; } return true; } /** {@inheritDoc} */ @java.lang.SuppressWarnings("all") public boolean canEqual(final java.lang.Object other) { return other instanceof LayerFeatureConstraintsInfo; } /** {@inheritDoc} */ @java.lang.Override @java.lang.SuppressWarnings("all") public int hashCode() { final int prime = 31; int result = 1; result = result * prime + (this.getFeatureTypeConstraintList() == null ? 0 : this.getFeatureTypeConstraintList().hashCode()); return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy