public final class FeaturesBatchInsertRequest extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FeaturesBatchInsertRequest() |
| Modifier and Type | Method and Description |
|---|---|
FeaturesBatchInsertRequest |
clone() |
List<Feature> |
getFeatures() |
Boolean |
getNormalizeGeometries()
If true, the server will normalize feature geometries.
|
boolean |
isNormalizeGeometries()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
FeaturesBatchInsertRequest |
set(String fieldName,
Object value) |
FeaturesBatchInsertRequest |
setFeatures(List<Feature> features) |
FeaturesBatchInsertRequest |
setNormalizeGeometries(Boolean normalizeGeometries)
If true, the server will normalize feature geometries.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic FeaturesBatchInsertRequest setFeatures(List<Feature> features)
features - features or null for nonepublic Boolean getNormalizeGeometries()
null for nonepublic FeaturesBatchInsertRequest setNormalizeGeometries(Boolean normalizeGeometries)
normalizeGeometries - normalizeGeometries or null for nonepublic boolean isNormalizeGeometries()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
If true, the server will normalize feature geometries. It is assumed that the South Pole is exterior to any polygons given. See here for a list of normalizations. If false, all feature geometries must be given already normalized. The points in all LinearRings must be listed in counter-clockwise order, and LinearRings may not intersect.
public FeaturesBatchInsertRequest set(String fieldName, Object value)
set in class GenericJsonpublic FeaturesBatchInsertRequest clone()
clone in class GenericJson