Class OGeometryCollectionShapeBuilder

java.lang.Object
com.orientechnologies.spatial.shape.OShapeBuilder<T>
com.orientechnologies.spatial.shape.OComplexShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
com.orientechnologies.spatial.shape.OGeometryCollectionShapeBuilder

public class OGeometryCollectionShapeBuilder extends OComplexShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
Created by Enrico Risa on 17/08/15.
  • Field Details

  • Constructor Details

    • OGeometryCollectionShapeBuilder

      public OGeometryCollectionShapeBuilder(OShapeFactory shapeFactory)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • getType

      public OShapeType getType()
      Specified by:
      getType in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • fromMapGeoJson

      public org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> fromMapGeoJson(Map<String,Object> geoJsonMap)
      Overrides:
      fromMapGeoJson in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • fromDoc

      public org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> fromDoc(ODocument doc)
      Specified by:
      fromDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • initClazz

      public void initClazz(ODatabaseInternal db)
      Specified by:
      initClazz in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • asText

      public String asText(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes)
      Overrides:
      asText in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
    • toDoc

      public ODocument toDoc(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes)
      Specified by:
      toDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>