Table of Contents
- Title and Copyright Information
- Preface
-
1
Node Programming Language
- Overview
- Interface with CDK components
- NPL compilation
- Implicit conversions between numeric types
- Literals
- Variables
- Expose clause
- Configuration clause
- Operators
-
Built-in functions
- void for (Integer i1, Integer i2)
- write(OutputRec rec)
- write(InputRec rec)
- InputRec clone(InputRec rec)
- OutputRec clone(InputRec rec)
- OutputRec clone(OutputRec rec)
- InputRec clone(OutputRec rec)
- sample(OutputRec rec)
- logError(String message)
- logWarning(String message)
- logWarning(String faultCategory, String specificFault, String additionalFaultText)
- logInfo(String message)
- logTrace(String message)
- Integer strlen(String s)
- Integer strpos(String string, String substring, Integer nth_occurrence)
- String substr(String s, Integer beginIndex, Integer endIndex)
- String str2lower(String s)
- String str2upper(String s)
- Bytes str2bytes(String s)
- Bytes str2bytes(String s, String e)
- String bytes2hexstr(Bytes b)
- String bytes2str(Bytes b)
- String bytes2str(Bytes b, String e)
- Bytes byte2bytes(Byte b)
- Byte bytes2byte(Bytes b)
- String byte2str(Byte b)
- Byte str2byte(String s)
- Bytes short2bytes(Short s)
- Short bytes2short(Bytes b)
- String short2str(Short s)
- Short str2short(String s)
- Bytes int2bytes(Integer i)
- Integer bytes2int(Bytes b)
- String int2str(Integer i)
- Integer str2int(String s)
- Integer randomInt(Integer min, Integer max)
- Bytes long2bytes(Long l)
- Long bytes2long(Bytes b)
- String long2str(Long l)
- Long str2long(String s)
- Bytes float2bytes(Float f)
- Float bytes2float(Bytes b)
- String float2str(Float f)
- Float str2float(String s)
- Bytes double2bytes(Double d)
- Double bytes2double(Bytes b)
- String double2str(double d)
- Double str2double(String s)
- Double randomDouble(Double min, Double max)
- Bytes time2bytes(TimeInSecs t)
- TimeInSecs bytes2TimeInSecs(Bytes b)
- String time2str(TimeInSecs timeInSecs, String format)
- TimeInSecs str2TimeInSecs(String s, String format)
- Bytes time2bytes(TimeInMilliSecs t)
- TimeInMilliSecs bytes2TimeInMilliSecs(Bytes b)
- String time2str(TimeInMilliSecs timeInMilliSecs, String format)
- TimeInMilliSecs str2TimeInMilliSecs(String s, String format)
- TimeInMilliSecs currentTime()
- String convertDateTime(String srcDateTime, … String dstDateTimeFormat)
- Bytes IP2bytes(IP i)
- IP bytes2IP(Bytes b)
- String IP2str(IP IP address)
- IP str2IP(String s)
- String object2str(Object o)
- String list2str(List l)
- Bytes subbytes(Bytes b, Integer beginIndex, Integer endIndex)
- Boolean fieldExists(InputRec rec, String fieldID)
- Boolean fieldExists(OutputRec rec, String fieldID)
- CopyBits
- Expressions
- Program statements
- Java hooks
- 2 Working with Oracle CDR Format Java Hooks in NPL
- 3 Working with Record Enhancement Charging Java Hooks in NPL
- 4 Sample Mapping for ECE Cartridge Pack
- A NPL Syntax and Reserved Words