-
Notifications
You must be signed in to change notification settings - Fork 0
/
WithinInfo.java
78 lines (70 loc) · 1.91 KB
/
WithinInfo.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2015 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.filter;
import java.io.Serializable;
import org.geomajas.annotation.Api;
/**
* Schema fragment(s) for this class:...
*
* <pre>
* <xs:element
* xmlns:ogc="http://www.opengis.net/ogc"
* xmlns:xs="http://www.w3.org/2001/XMLSchema"
* type="ogc:BinarySpatialOpType" substitutionGroup="ogc:spatialOps" name="Within"/>
* </pre>
*
* @author Jan De Moerloose
* @since 1.0.0
*/
@Api(allMethods = true)
public class WithinInfo extends BinarySpatialOpTypeInfo implements Serializable {
private static final long serialVersionUID = 100;
@Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "WithinInfo()";
}
@Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) {
return true;
}
if (!(o instanceof WithinInfo)) {
return false;
}
final WithinInfo other = (WithinInfo) o;
if (!other.canEqual((java.lang.Object) this)) {
return false;
}
if (!super.equals(o)) {
return false;
}
return true;
}
/**
* Is there a chance that the object are equal? Verifies that the other object has a comparable type.
*
* @param other other object
* @return true when other is an instance of this type
*/
public boolean canEqual(final java.lang.Object other) {
return other instanceof WithinInfo;
}
@Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int prime = 31;
int result = 1;
result = result * prime + super.hashCode();
return result;
}
}