/protocols/ss7/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/service/subscriberInformation/LocationInformation.java

http://mobicents.googlecode.com/ · Java · 88 lines · 19 code · 17 blank · 52 comment · 0 complexity · dd9cab1f03bc83e17c6049aedb50bc9f MD5 · raw file

  1. /*
  2. * JBoss, Home of Professional Open Source
  3. * Copyright 2011, Red Hat, Inc. and individual contributors
  4. * by the @authors tag. See the copyright.txt in the distribution for a
  5. * full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. package org.mobicents.protocols.ss7.map.api.service.subscriberInformation;
  23. import org.mobicents.protocols.ss7.map.api.primitives.CellGlobalIdOrServiceAreaIdOrLAI;
  24. import org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString;
  25. import org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer;
  26. /**
  27. *
  28. LocationInformation ::= SEQUENCE {
  29. ageOfLocationInformation AgeOfLocationInformation OPTIONAL,
  30. geographicalInformation [0] GeographicalInformation OPTIONAL,
  31. vlr-number [1] ISDN-AddressString OPTIONAL,
  32. locationNumber [2] LocationNumber OPTIONAL,
  33. cellGlobalIdOrServiceAreaIdOrLAI [3] CellGlobalIdOrServiceAreaIdOrLAI OPTIONAL,
  34. extensionContainer [4] ExtensionContainer OPTIONAL,
  35. ... ,
  36. selectedLSA-Id [5] LSAIdentity OPTIONAL,
  37. msc-Number [6] ISDN-AddressString OPTIONAL,
  38. geodeticInformation [7] GeodeticInformation OPTIONAL,
  39. currentLocationRetrieved [8] NULL OPTIONAL,
  40. sai-Present [9] NULL OPTIONAL,
  41. locationInformationEPS [10] LocationInformationEPS OPTIONAL,
  42. userCSGInformation [11] UserCSGInformation OPTIONAL }
  43. -- sai-Present indicates that the cellGlobalIdOrServiceAreaIdOrLAI parameter contains
  44. -- a Service Area Identity.
  45. -- currentLocationRetrieved shall be present
  46. -- if the location information were retrieved after a successfull paging.
  47. -- if the locationinformationEPS IE is present then the cellGlobalIdOrServiceAreaIdOrLAI IE,
  48. -- the ageOfLocationInformation IE, the geographicalInformation IE, the geodeticInformation IE
  49. -- and the currentLocationRetrieved IE (outside the locationInformationEPS IE) shall be
  50. -- absent.
  51. -- UserCSGInformation contains the CSG ID, Access mode, and the CSG Membership Indication in
  52. -- the case the Access mode is Hybrid Mode.
  53. *
  54. * @author sergey vetyutnev
  55. *
  56. */
  57. public interface LocationInformation {
  58. public Integer getAgeOfLocationInformation();
  59. public GeographicalInformation getGeographicalInformation();
  60. public ISDNAddressString getVlrNumber();
  61. public LocationNumberMap getLocationNumber();
  62. public CellGlobalIdOrServiceAreaIdOrLAI getCellGlobalIdOrServiceAreaIdOrLAI();
  63. public MAPExtensionContainer getExtensionContainer();
  64. public LSAIdentity getSelectedLSAId();
  65. public ISDNAddressString getMscNumber();
  66. public GeodeticInformation getGeodeticInformation();
  67. public boolean getCurrentLocationRetrieved();
  68. public boolean getSaiPresent();
  69. public LocationInformationEPS getLocationInformationEPS();
  70. public UserCSGInformation getUserCSGInformation();
  71. }