record.reset();
record.setClassName("Account");
record.fromString(new String("Account@id:" + data.getCyclesDone() + ",name:'Luca',surname:'Garulli',birthDate:" + date.getTime()
+ ",salary:" + 3000f + i));
record.save();
header=12345678[&adapter=somepackage.someadapter]@param header
The format of the string is described at {@link RecordId#toString}. The parsing is however a bit more lenient: it is not required that the variant properties are specified in lexicographic order, and whitespace around the individual components will be stripped. @param recordIdString well-formed String representation of the {@link RecordId}, as is generated by calling {@link RecordId#toString()}
Supported keys/values include
KEY(s) | VALUE |
"in_port","input_port" | integer |
"dl_src","eth_src", "dl_dst","eth_dst" | hex-string |
"dl_type", "dl_vlan", "dl_vlan_pcp" | integer |
"nw_src", "nw_dst", "ip_src", "ip_dst" | CIDR-style netmask |
"tp_src","tp_dst" | integer (max 64k) |
The CIDR-style netmasks assume 32 netmask if none given, so: "128.8.128.118/32" is the same as "128.8.128.118" @param match a key=value comma separated string, e.g. "in_port=5,ip_dst=192.168.0.0/16,tp_src=80" @throws IllegalArgumentException on unexpected key or value
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|