Author: mlebihan
Date: Thu Nov 12 21:02:51 2015
New Revision: 1714120
URL: http://svn.apache.org/viewvc?rev=1714120&view=rev
Log:
ShapefileDescriptor lacked the getters to get its useful values.
Modified:
sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/ShapefileDescriptor.java
Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/ShapefileDescriptor.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/ShapefileDescriptor.java?rev=1714120&r1=1714119&r2=1714120&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/ShapefileDescriptor.java
[UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/ShapefileDescriptor.java
[UTF-8] Thu Nov 12 21:02:51 2015
@@ -95,6 +95,86 @@ public class ShapefileDescriptor {
}
/**
+ * Returns the version of the shapefile.
+ * @return Version.
+ */
+ public int getVersion() {
+ return this.version;
+ }
+
+ /**
+ * Returns the ESRI shape type in the shapefile.
+ * @return Shape type.
+ */
+ public ShapeTypeEnum getShapeType() {
+ return this.shapeType;
+ }
+
+ /**
+ * Returns the X Min property.
+ * @return XMin.
+ */
+ public double getXmin() {
+ return this.xmin;
+ }
+
+ /**
+ * Returns the Y Min property.
+ * @return YMin.
+ */
+ public double getYmin() {
+ return this.ymin;
+ }
+
+ /**
+ * Returns the X Max property.
+ * @return XMax.
+ */
+ public double getXmax() {
+ return this.xmax;
+ }
+
+ /**
+ * Returns the Y Max property.
+ * @return YMax.
+ */
+ public double getYmax() {
+ return this.ymax;
+ }
+
+ /**
+ * Returns the Z Min property.
+ * @return ZMin.
+ */
+ public double getZmin() {
+ return this.zmin;
+ }
+
+ /**
+ * Returns the Z Max property.
+ * @return ZMax.
+ */
+ public double getZmax() {
+ return this.zmax;
+ }
+
+ /**
+ * Returns the M Min property.
+ * @return M min.
+ */
+ public double getMmin() {
+ return this.mmin;
+ }
+
+ /**
+ * Returns the M Max property.
+ * @return M Max.
+ */
+ public double getMmax(){
+ return this.mmax;
+ }
+
+ /**
* @see java.lang.Object#toString()
*/
@Override
|