Revision 26911 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureAttributeDescriptor.java
DefaultFeatureAttributeDescriptor.java | ||
---|---|---|
31 | 31 |
protected boolean readOnly; |
32 | 32 |
protected IProjection SRS; |
33 | 33 |
protected int geometryType; |
34 |
|
|
34 |
protected int geometrySubType; |
|
35 |
|
|
35 | 36 |
private static final Class TYPE_CLASS[] = new Class[] { |
36 | 37 |
null, |
37 | 38 |
Boolean.class, |
... | ... | |
69 | 70 |
this.readOnly = false; |
70 | 71 |
this.SRS = null; |
71 | 72 |
this.geometryType = Geometry.TYPES.NULL; |
73 |
this.geometrySubType = Geometry.SUBTYPES.UNKNOWN; |
|
72 | 74 |
} |
73 | 75 |
|
74 | 76 |
protected DefaultFeatureAttributeDescriptor( |
... | ... | |
89 | 91 |
this.readOnly = other.readOnly; |
90 | 92 |
this.SRS = other.SRS; |
91 | 93 |
this.geometryType = other.geometryType; |
94 |
this.geometrySubType = other.geometrySubType; |
|
92 | 95 |
} |
93 | 96 |
|
94 | 97 |
public String getDataTypeName() { |
... | ... | |
123 | 126 |
return this.geometryType; |
124 | 127 |
} |
125 | 128 |
|
129 |
public int getGeometrySubType() { |
|
130 |
return this.geometrySubType; |
|
131 |
} |
|
132 |
|
|
126 | 133 |
public int getIndex() { |
127 | 134 |
return this.index; |
128 | 135 |
} |
Also available in: Unified diff