Revision 25587 branches/v2_0_0_prep/libraries/libFMap_dal/src-test/org/gvsig/fmap/dal/feature/impl/JoinTransform.java

View differences:

JoinTransform.java
63 63

  
64 64
	/**
65 65
	 * Initializes all the necessary data for this transform
66
	 * 
66
	 *
67 67
	 * @param store1
68 68
	 *            store whose default feature type is the target of this
69 69
	 *            transform
70
	 * 
70
	 *
71 71
	 * @param store2
72 72
	 *            store whose default feature type will provide the new
73 73
	 *            attributes to join
74
	 * 
74
	 *
75 75
	 * @param keyAttr1
76 76
	 *            key attribute in store1 that matches keyAttr2 in store2
77 77
	 *            (foreign key), used for joining both stores.
78
	 * 
78
	 *
79 79
	 * @param keyAttr2
80 80
	 *            key attribute in store2 that matches keyAttr1 in store2
81 81
	 *            (foreign key), used for joining both stores.
82
	 * 
82
	 *
83 83
	 * @param attrs
84 84
	 *            names of the attributes in store2 that will be joined to
85 85
	 *            store1.
......
118 118
		}
119 119

  
120 120
		// assign calculated feature type as this transform's feature type
121
		this.defaultFeatureType = type.getNotEditableCopy();
121
		setDefaultFeatureType(type.getNotEditableCopy());
122 122
	}
123 123

  
124 124
	/**
125
	 * 
126
	 * 
125
	 *
126
	 *
127 127
	 * @param source
128
	 * 
128
	 *
129 129
	 * @param target
130
	 * 
130
	 *
131 131
	 * @throws DataException
132 132
	 */
133 133
	public void applyTransform(Feature source, EditableFeature target)

Also available in: Unified diff