com.ibm.commerce.store.facade.server.context

Class StoreGeoCodeContextImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StoreGeoCodeContextImpl

        public StoreGeoCodeContextImpl()
        Default Constructor for this class.
    • Method Detail

      • getContextName

        public java.lang.String getContextName()
        Description copied from interface: Context
        This method gets the name of this context.
        Specified by:
        getContextName in interface Context
        Returns:
        the name of this context
      • copyContext

        public void copyContext(Context ctx)
        Description copied from interface: Context
        This method copies the content of a given context to this context.
        Specified by:
        copyContext in interface Context
        Parameters:
        ctx - the context to copy from
      • getCenterLatitude

        public java.math.BigDecimal getCenterLatitude()
        Get the latitude of the center point.
        Specified by:
        getCenterLatitude in interface StoreGeoCodeContext
        Returns:
        the latitude of the center point.
      • getCenterLongitude

        public java.math.BigDecimal getCenterLongitude()
        Get the longitude of the center point.
        Specified by:
        getCenterLongitude in interface StoreGeoCodeContext
        Returns:
        the longitude of the center point.
      • getNorthWestLatitude

        public java.math.BigDecimal getNorthWestLatitude()
        Get the latitude of the north west corner point.
        Specified by:
        getNorthWestLatitude in interface StoreGeoCodeContext
        Returns:
        the latitude of the north west corner point.
      • getNorthWestLongitude

        public java.math.BigDecimal getNorthWestLongitude()
        Get the longitude of the north west corner point.
        Specified by:
        getNorthWestLongitude in interface StoreGeoCodeContext
        Returns:
        the longitude of the north west corner point.
      • getSouthEastLatitude

        public java.math.BigDecimal getSouthEastLatitude()
        Get the latitude of the south east corner point.
        Specified by:
        getSouthEastLatitude in interface StoreGeoCodeContext
        Returns:
        the latitude of the south east corner point.
      • getSouthEastLongitude

        public java.math.BigDecimal getSouthEastLongitude()
        Gets the longitude of the south east corner point.
        Specified by:
        getSouthEastLongitude in interface StoreGeoCodeContext
        Returns:
        the longitude of the south east corner point.
      • setCenterLatitude

        public void setCenterLatitude(java.math.BigDecimal acenterLatitude)
        Sets the latitude of the center point.
        Specified by:
        setCenterLatitude in interface StoreGeoCodeContext
        Parameters:
        acenterLatitude - the latitude of the center point.
      • setCenterLongitude

        public void setCenterLongitude(java.math.BigDecimal acenterLongitude)
        Sets the longitude of the center point.
        Specified by:
        setCenterLongitude in interface StoreGeoCodeContext
        Parameters:
        acenterLongitude - the longitude of the center point.
      • setNorthWestLatitude

        public void setNorthWestLatitude(java.math.BigDecimal anorthWestLatitude)
        Sets the latitude of the north west corner point.
        Specified by:
        setNorthWestLatitude in interface StoreGeoCodeContext
        Parameters:
        anorthWestLatitude - the latitude of the north west corner point.
      • setNorthWestLongitude

        public void setNorthWestLongitude(java.math.BigDecimal anorthWestLongitude)
        Sets the longitude of the north west corner point.
        Specified by:
        setNorthWestLongitude in interface StoreGeoCodeContext
        Parameters:
        anorthWestLongitude - the longitude of the north west corner point.
      • setSouthEastLatitude

        public void setSouthEastLatitude(java.math.BigDecimal asouthEastLatitude)
        Sets the latitude of the south east corner point.
        Specified by:
        setSouthEastLatitude in interface StoreGeoCodeContext
        Parameters:
        asouthEastLatitude - the latitude of the south east corner point.
      • setSouthEastLongitude

        public void setSouthEastLongitude(java.math.BigDecimal asouthEastLongitude)
        Sets the longitude of the south east corner point.
        Specified by:
        setSouthEastLongitude in interface StoreGeoCodeContext
        Parameters:
        asouthEastLongitude - the longitude of the south east corner point.