Revision 34026 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wfs/filters/operations/WFSSpatialFilterOperation.java

View differences:

WFSSpatialFilterOperation.java
35 35
public class WFSSpatialFilterOperation extends WFSFilterOperation{
36 36
	protected int operation = AbstractFilter.GEOMETRIC_OPERATOR_INTERSECT;
37 37
	protected String attributeName = null;
38
	protected String nameSpacePrefix = null;
39
	protected String nameSpaceLocation = null;
38 40
	protected String srs = null;
39
	
41
		
40 42
	/**
41 43
	 * @param operation
42 44
	 * @param attributeName
43 45
	 * @param srs
44 46
	 */
45
	public WFSSpatialFilterOperation(int operation, String attributeName,
46
			String srs) {
47
	public WFSSpatialFilterOperation(int operation, String attributeName, 
48
	    String nameSpacePrefix, String nameSpaceLocation, String srs) {
47 49
		super();	
48 50
		this.operation = operation;
49 51
		this.attributeName = attributeName;
52
		this.nameSpacePrefix = nameSpacePrefix;
53
		this.nameSpaceLocation = nameSpaceLocation;
50 54
		this.srs = srs;		
51 55
	}
52 56

  
53
	/**
57
	
58
    /**
59
     * @return the nameSpacePrefix
60
     */
61
    public String getNameSpacePrefix() {
62
        return nameSpacePrefix;
63
    }
64

  
65
    
66
    /**
67
     * @return the nameSpaceLocation
68
     */
69
    public String getNameSpaceLocation() {
70
        return nameSpaceLocation;
71
    }
72

  
73
    /**
54 74
	 * @return the operation
55 75
	 */
56 76
	public int getOperation() {
......
63 83
	public String getAttributeName() {
64 84
		return attributeName;
65 85
	}
86
	
87
	/**
88
     * @return the attributeName
89
     */
90
    public String getAttributeFullName() {
91
        if (nameSpacePrefix != null){
92
            return nameSpacePrefix + ":" + attributeName;
93
        }
94
        return attributeName;
95
    }
96
    
66 97

  
67 98
	/**
68 99
	 * @return the srs
69 100
	 */
70
	public String getSrs() {
101
	public String getSrsName() {
71 102
		return srs;
72 103
	}		
73 104
}

Also available in: Unified diff