/**
* Initialize mock-up db data
*/
public void initMockDbData() {
DataFile file1 = new DataFile(new Ucode(0x0efffec000000000L, 0x0000000000040000L), new Ucode(0xffffffffffffffffL, 0xffffffffffff0000L), CascadeMode.UIDC_NOCSC);
DataFile file2 = new DataFile(new Ucode(0x0efffec000000000L, 0x0000000000050000L), new Ucode(0xffffffffffffffffL, 0xffffffffffff0000L), CascadeMode.UIDC_CSC);
try {
file2.addDataEntry( new DataEntry( new Ucode(0x0efffec000000000L, 0x0000000000050100L),
new Ucode(0xffffffffffffffffL, 0xffffffffffffff00L),
DataAttribute.UIDC_ATTR_RS,
(short) 1,
3600,
DataType.UIDC_DATATYPE_UCODE_IPV4,
"172.26.30.78") );
/*
// For cascade resolution testing purpose this may be commented instead of the prior item
file2.addDataEntry( new DataEntry( new Ucode(0x0efffec000000000L, 0x0000000000050100L),
new Ucode(0xffffffffffffffffL, 0xffffffffffffff00L),
DataAttribute.UIDC_ATTR_SS,
(short) 1,
0,
DataType.UIDC_DATATYPE_UCODE_URL,
"http://www.uidcenter.org") );
*/
file2.addDataEntry( new DataEntry( new Ucode(0x0efffec000000000L, 0x0000000000050200L),
new Ucode(0xffffffffffffffffL, 0xffffffffffffff00L),
DataAttribute.UIDC_ATTR_RS,
(short) 1,
3600,
DataType.UIDC_DATATYPE_UCODE_IPV4,
"192.168.10.1") );
file2.addDataEntry( new DataEntry( new Ucode(0x0efffec000000000L, 0x0000000000050300L),
new Ucode(0xffffffffffffffffL, 0xffffffffffffff00L),
DataAttribute.UIDC_ATTR_RS,
(short) 2,
0,
DataType.UIDC_DATATYPE_UCODE_IPV4,
"192.168.10.2") );