/protocols/ss7/map/map-api/src/main/java/org/mobicents/protocols/ss7/map/api/primitives/CellGlobalIdOrServiceAreaIdOrLAI.java

http://mobicents.googlecode.com/ · Java · 75 lines · 6 code · 6 blank · 63 comment · 0 complexity · 821ec88394c87961f19c18ed1eedd382 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.primitives;
  23. import java.io.Serializable;
  24. /**
  25. * CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE {
  26. * cellGlobalIdOrServiceAreaIdFixedLength [0] CellGlobalIdOrServiceAreaIdFixedLength,
  27. * laiFixedLength [1] LAIFixedLength}
  28. *
  29. * @author amit bhayani
  30. *
  31. */
  32. public interface CellGlobalIdOrServiceAreaIdOrLAI extends Serializable {
  33. /**
  34. * CellGlobalIdOrServiceAreaIdFixedLength ::= OCTET STRING (SIZE (7))
  35. * -- Refers to Cell Global Identification or Service Are Identification
  36. * -- defined in 3GPP TS 23.003.
  37. * -- The internal structure is defined as follows:
  38. * -- octet 1 bits 4321 Mobile Country Code 1st digit
  39. * -- bits 8765 Mobile Country Code 2nd digit
  40. * -- octet 2 bits 4321 Mobile Country Code 3rd digit
  41. * -- bits 8765 Mobile Network Code 3rd digit
  42. * -- or filler (1111) for 2 digit MNCs
  43. * -- octet 3 bits 4321 Mobile Network Code 1st digit
  44. * -- bits 8765 Mobile Network Code 2nd digit
  45. * -- octets 4 and 5 Location Area Code according to 3GPP TS 24.008
  46. * -- octets 6 and 7 Cell Identity (CI) value or
  47. * -- Service Area Code (SAC) value
  48. * -- according to 3GPP TS 23.003
  49. *
  50. * @return
  51. */
  52. public CellGlobalIdOrServiceAreaIdFixedLength getCellGlobalIdOrServiceAreaIdFixedLength();
  53. /**
  54. * LAIFixedLength ::= OCTET STRING (SIZE (5))
  55. * -- Refers to Location Area Identification defined in TS 3GPP TS 23.003 [17].
  56. * -- The internal structure is defined as follows:
  57. * -- octet 1 bits 4321 Mobile Country Code 1st digit
  58. * -- bits 8765 Mobile Country Code 2nd digit
  59. * -- octet 2 bits 4321 Mobile Country Code 3rd digit
  60. * -- bits 8765 Mobile Network Code 3rd digit
  61. * -- or filler (1111) for 2 digit MNCs
  62. * -- octet 3 bits 4321 Mobile Network Code 1st digit
  63. * -- bits 8765 Mobile Network Code 2nd digit
  64. * -- octets 4 and 5 Location Area Code according to TS 3GPP TS 24.008
  65. *
  66. * @return
  67. */
  68. public LAIFixedLength getLAIFixedLength();
  69. }