input
stringlengths 10
828
| output
stringlengths 5
107
|
|---|---|
public visibility get table visibility string table if exist table table visibility v cursor c db query select visibility from security where tablename table null c first v visibility values c get int 0 return v else return null
|
get the visibility of a table in my droid database
|
public visibility set table visibility string sfid string table visibility visibility if exist table table is owner sfid table db exec sql update security table set visibility visibility get value where tablename table return visibility else return null
|
set the visibility of a table
|
public access get table access string table if exist table table access a cursor c db query select access from security where tablename table null c first a access values c get int 0 return a else return null
|
get the access mode of a table in my droid database
|
public access set table access string sfid string table access access if exist table table is owner sfid table db exec sql update security table set visibility access get value where tablename table return access else return null
|
set the access mode of a table
|
public access get table access string table if exist table table access a cursor c db query select access from security where tablename table null c first a access values c get int 0 c close return a else return null
|
get the access mode of a table in my droid database
|
private request params get request params from mock request hash map string string hash map throws exception create mock request for string key hash map key set expect m request get parameter key and return hash map get key any times replay m request get request params and call public method set parameters m request is the mock http servlet request request params request params new request params request params set parameters m request reset m request return request params
|
get the request params object using the mock http servlet request object
|
private request params test util get expect obj hash map string string hash map throws exception request params test util expect obj new request params test util hash map return expect obj
|
get expect mock object
|
public void test start end error message throws exception m request new get method web request m test utils get url pmgraph start gdg end 300000 m response m wc get response m request assert equals test start and end error messages start end format error m wc pop next alert
|
test error message for wrong input of start and end
|
public void test limit number error message throws exception m request new get method web request m test utils get url pmgraph start 0 end 300000 wrong setting of result limit m response get element with id result limit set attribute value n m sub button click assert equals test short span error messages result limit format error m wc pop next alert
|
test error message for wrong input of limit number
|
public void test view error message throws exception test for wrong view parameter m request new get method web request m test utils get url pmgraph view xxxx m response m wc get response m request assert equals test wrong port number error messages view format error m wc pop next alert
|
test error message for wrong input of view
|
static public string hex str to str string s string ret for int i 0 i s length i 2 ret char integer parse int s substring i i 2 16 return ret
|
converts hex value string to normal strint for use with router os api
|
public inet address get ip address return sock null null sock get inet address
|
to get ip address of the connection
|
public inet address get local ip address return sock null null sock get local address
|
returns ip address that socket is asociated with
|
public int get local port return sock null null sock get local port
|
return local prot used by socket
|
public string send command string s return write command set command s run command
|
sets and exectues command sends it to router os host connected
|
public string run command return write command run command
|
exeecutes already set command
|
public string get data throws interrupted exception string s string queue take return s
|
tries to fech data that is repllied to commands sent
|
public string get command return write command get command
|
returns command that is set at this moment
|
public void test start end error message throws exception m request new get method web request m test utils get url pmgraph start gdg end 300000 m response m conversation get response m request assert equals test start and end error messages start end format error m conversation pop next alert
|
test error message for invalid value in start
|
public void test limit number error message throws exception m request new get method web request m test utils get url pmgraph start 0 end 300000 wrong setting of result limit m response get element with id result limit set attribute value n m sub button click assert equals test short span error messages result limit format error m conversation pop next alert
|
test error message for invalid limit number
|
public void test view error message throws exception test for wrong view parameter m request new get method web request m test utils get url pmgraph view xxxx m response m conversation get response m request assert equals test wrong port number error messages view format error m conversation pop next alert
|
test error message for invalid view
|
public void set content java lang string value this content value
|
sets the value of the content property
|
public void set print object java lang string value this print object value
|
sets the value of the print object property
|
public void set location java lang string value this location value
|
sets the value of the location property
|
public void set text java lang string value this text value
|
sets the value of the text property
|
public void set substitution java lang string value this substitution value
|
sets the value of the substitution property
|
public void set default x java lang string value this default x value
|
sets the value of the default x property
|
public void set default y java lang string value this default y value
|
sets the value of the default y property
|
public void set relative x java lang string value this relative x value
|
sets the value of the relative x property
|
public void set relative y java lang string value this relative y value
|
sets the value of the relative y property
|
public void set font family java lang string value this font family value
|
sets the value of the font family property
|
public void set font size java lang string value this font size value
|
sets the value of the font size property
|
public void set font style java lang string value this font style value
|
sets the value of the font style property
|
public void set font weight java lang string value this font weight value
|
sets the value of the font weight property
|
public void set color java lang string value this color value
|
sets the value of the color property
|
public void set placement java lang string value this placement value
|
sets the value of the placement property
|
public void set name java lang string value this name value
|
sets the value of the name property
|
public void set number java lang string value this number value
|
sets the value of the number property
|
public pedal step get pedal step return pedal step
|
gets the value of the pedal step property
|
public void set pedal step pedal step value this pedal step value
|
sets the value of the pedal step property
|
public pedal alter get pedal alter return pedal alter
|
gets the value of the pedal alter property
|
public void set pedal alter pedal alter value this pedal alter value
|
sets the value of the pedal alter property
|
public frame strings get frame strings return frame strings
|
gets the value of the frame strings property
|
public void set frame strings frame strings value this frame strings value
|
sets the value of the frame strings property
|
public frame frets get frame frets return frame frets
|
gets the value of the frame frets property
|
public void set frame frets frame frets value this frame frets value
|
sets the value of the frame frets property
|
public first fret get first fret return first fret
|
gets the value of the first fret property
|
public void set first fret first fret value this first fret value
|
sets the value of the first fret property
|
public void set height java lang string value this height value
|
sets the value of the height property
|
public void set width java lang string value this width value
|
sets the value of the width property
|
public void set halign java lang string value this halign value
|
sets the value of the halign property
|
public void set valign java lang string value this valign value
|
sets the value of the valign property
|
public void set id object value this id value
|
sets the value of the id property
|
public staff type get staff type return staff type
|
gets the value of the staff type property
|
public void set staff type staff type value this staff type value
|
sets the value of the staff type property
|
public staff lines get staff lines return staff lines
|
gets the value of the staff lines property
|
public void set staff lines staff lines value this staff lines value
|
sets the value of the staff lines property
|
public capo get capo return capo
|
gets the value of the capo property
|
public void set capo capo value this capo value
|
sets the value of the capo property
|
public staff size get staff size return staff size
|
gets the value of the staff size property
|
public void set staff size staff size value this staff size value
|
sets the value of the staff size property
|
public void set show frets java lang string value this show frets value
|
sets the value of the show frets property
|
public void set print spacing java lang string value this print spacing value
|
sets the value of the print spacing property
|
public scaling get scaling return scaling
|
gets the value of the scaling property
|
public void set scaling scaling value this scaling value
|
sets the value of the scaling property
|
public page layout get page layout return page layout
|
gets the value of the page layout property
|
public void set page layout page layout value this page layout value
|
sets the value of the page layout property
|
public system layout get system layout return system layout
|
gets the value of the system layout property
|
public void set system layout system layout value this system layout value
|
sets the value of the system layout property
|
public void set appearance appearance value this appearance value
|
sets the value of the appearance property
|
public music font get music font return music font
|
gets the value of the music font property
|
public void set music font music font value this music font value
|
sets the value of the music font property
|
public word font get word font return word font
|
gets the value of the word font property
|
public void set word font word font value this word font value
|
sets the value of the word font property
|
public void set line type java lang string value this line type value
|
sets the value of the line type property
|
public void set bezier offset java lang string value this bezier offset value
|
sets the value of the bezier offset property
|
public void set bezier offset2 java lang string value this bezier offset2 value
|
sets the value of the bezier offset2 property
|
public void set bezier x java lang string value this bezier x value
|
sets the value of the bezier x property
|
public void set bezier x2 java lang string value this bezier x2 value
|
sets the value of the bezier x2 property
|
public void set bezier y java lang string value this bezier y value
|
sets the value of the bezier y property
|
public void set bezier y2 java lang string value this bezier y2 value
|
sets the value of the bezier y2 property
|
public void set orientation java lang string value this orientation value
|
sets the value of the orientation property
|
public senza misura get senza misura return senza misura
|
gets the value of the senza misura property
|
public void set senza misura senza misura value this senza misura value
|
sets the value of the senza misura property
|
public void set symbol java lang string value this symbol value
|
sets the value of the symbol property
|
public void set accelerate java lang string value this accelerate value
|
sets the value of the accelerate property
|
public void set beats java lang string value this beats value
|
sets the value of the beats property
|
public void set last beat java lang string value this last beat value
|
sets the value of the last beat property
|
public void set second beat java lang string value this second beat value
|
sets the value of the second beat property
|
public void set start note java lang string value this start note value
|
sets the value of the start note property
|
public void set trill step java lang string value this trill step value
|
sets the value of the trill step property
|
public void set two note turn java lang string value this two note turn value
|
sets the value of the two note turn property
|
public void set justify java lang string value this justify value
|
sets the value of the justify property
|
public void set use symbols java lang string value this use symbols value
|
sets the value of the use symbols property
|
public cancel get cancel return cancel
|
gets the value of the cancel property
|
public void set cancel cancel value this cancel value
|
sets the value of the cancel property
|
public fifths get fifths return fifths
|
gets the value of the fifths property
|
public void set fifths fifths value this fifths value
|
sets the value of the fifths property
|
public void set mode mode value this mode value
|
sets the value of the mode property
|
public void set long java lang string value this long value
|
sets the value of the long property
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.