Class SwissGeoPosition

  • All Implemented Interfaces:
    com.anaptecs.jeaf.core.api.ServiceObject, java.io.Serializable

    @Valid
    public class SwissGeoPosition
    extends GeoPosition
    See Also:
    Serialized Form
    • Constructor Detail

      • SwissGeoPosition

        protected SwissGeoPosition()
        Default constructor is only intended to be used for deserialization by tools like Jackson for JSON. For "normal" object creation builder should be used instead.
      • SwissGeoPosition

        protected SwissGeoPosition​(SwissGeoPosition.Builder pBuilder)
        Initialize object using the passed builder.
        Parameters:
        pBuilder - Builder that should be used to initialize this object. The parameter must not be null.
    • Method Detail

      • builder

        public static SwissGeoPosition.Builder builder​(SwissGeoPosition pObject)
        Method creates a new builder and initialize it with the data from the passed object.
        Parameters:
        pObject - Object that should be used to initialize the builder. The parameter may be null.
        Returns:
        SwissGeoPosition.Builder New builder that can be used to create new SwissGeoPosition objects. The method never returns null.
      • builder

        public static SwissGeoPosition.Builder builder​(java.lang.String pName,
                                                       int pLongitude,
                                                       int pLatitude)
        Method creates a new builder and initializes it with the passed attributes.