code: public void encodeData(AsnOutputStream asnOs) throws MAPException {
  
          if (this.ssStatus == null)
              throw new MAPException("Error while encoding " + _PrimitiveName + ": ssStatus required.");
  
          if (this.basicService != null)
              ((ExtBasicServiceCodeImpl) this.basicService).encodeAll(asnOs);
  
          ((ExtSSStatusImpl) this.ssStatus).encodeAll(asnOs, Tag.CLASS_CONTEXT_SPECIFIC, _TAG_ss_Status);
  
          if (this.extensionContainer != null)
              ((MAPExtensionContainerImpl) this.extensionContainer).encodeAll(asnOs);
      }
docs: /*
  (non-Javadoc)
  
  @see org.restcomm.protocols.ss7.map.primitives.MAPAsnPrimitive#encodeData (org.mobicents.protocols.asn.AsnOutputStream)