input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void set cuom to com example erp cuom c uom to this c uom to c uom to | set the value related to the column c uom to id |
public void set cbpartners java util set com example erp cbpartner c bpartners this c bpartners c bpartners | set the value related to the column cbpartners |
public base uprivilege role com example erp uprivilege role pk id this set id id initialize | constructor for primary key |
public void set id com example erp uprivilege role pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set cinventory com example erp cinventory c inventory this c inventory c inventory | set the value related to the column c inventory id |
public void set cdiscount com example erp cdiscount c discount this c discount c discount | set the value related to the column c discount id |
public base cdeliveryline com example erp cdeliveryline pk id this set id id initialize | constructor for primary key |
public void set sprocess com example erp sprocess s process this s process s process | set the value related to the column s process id |
public void set id com example erp cdeliveryline pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set billto location com example erp cbpartner location billto location this billto location billto location | set the value related to the column billto location id |
public void set cdocumenttype com example erp cdocumenttype c documenttype this c documenttype c documenttype | set the value related to the column c documenttype id |
public base sform access com example erp sform access pk id this set id id initialize | constructor for primary key |
public void set id com example erp sform access pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set cbpartner location com example erp cbpartner location c bpartner location this c bpartner location c bpartner location | set the value related to the column c bpartner location id |
public void set cpaymentterm com example erp cpaymentterm c paymentterm this c paymentterm c paymentterm | set the value related to the column c paymentterm id |
public void set cquotelines java util set com example erp cquoteline c quotelines this c quotelines c quotelines | set the value related to the column cquotelines |
public void set cbpartner group com example erp cbpartner group c bpartner group this c bpartner group c bpartner group | set the value related to the column c bpartner group id |
public void set cdelivery com example erp cdelivery c delivery this c delivery c delivery | set the value related to the column c delivery id |
public void set coffer products java util set com example erp coffer product c offer products this c offer products c offer products | set the value related to the column coffer products |
public base cbpartner organization com example erp cbpartner organization pk id this set id id initialize | constructor for primary key |
public void set id com example erp cbpartner organization pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set corderlines java util set com example erp corderline c orderlines this c orderlines c orderlines | set the value related to the column corderlines |
public void set cinventories java util set com example erp cinventory c inventories this c inventories c inventories | set the value related to the column cinventories |
public void set cpricelists java util set com example erp cpricelist c pricelists this c pricelists c pricelists | set the value related to the column cpricelists |
public void set ccity com example erp ccity c city this c city c city | set the value related to the column c city id |
public void set clocator com example erp clocator c locator this c locator c locator | set the value related to the column c locator id |
public base cproductprice com example erp cproductprice pk id this set id id initialize | constructor for primary key |
public void set id com example erp cproductprice pk id this id id this hash code integer min value | set the unique identifier of this class |
public void set salesrep com example erp uuser salesrep this salesrep salesrep | set the value related to the column salesrep id |
public void set cquote com example erp cquote c quote this c quote c quote | set the value related to the column c quote id |
public void set ccurruncy com example erp ccurrency c curruncy this c curruncy c curruncy | set the value related to the column c curruncy id |
public void set coffer pricelists java util set com example erp coffer pricelist c offer pricelists this c offer pricelists c offer pricelists | set the value related to the column coffer pricelists |
public void set cpricelist com example erp coffer pricelist c pricelist this c pricelist c pricelist | set the value related to the column c pricelist id |
public void set cordertaxs java util set com example erp cordertax c ordertaxs this c ordertaxs c ordertaxs | set the value related to the column cordertaxs |
public void set cinvoices java util set com example erp cinvoice c invoices this c invoices c invoices | set the value related to the column cinvoices |
public cproduct warehouse com example erp cproduct warehouse pk id super id | constructor for primary key |
public ccreditnoteline com example erp ccreditnoteline pk id super id | constructor for primary key |
public sprocess access com example erp sprocess access pk id super id | constructor for primary key |
public cbpartner organization com example erp cbpartner organization pk id super id | constructor for primary key |
public cproductprice com example erp cproductprice pk id super id | constructor for primary key |
public stable access com example erp stable access pk id super id | constructor for primary key |
public uprivilege role com example erp uprivilege role pk id super id | constructor for primary key |
public cdeliveryline com example erp cdeliveryline pk id super id | constructor for primary key |
public void set cinvoice discount com example erp cinvoice discount c invoice discount this c invoice discount c invoice discount | set the value related to the column c invoice discount id |
public void set supervisor com example erp uuser supervisor this supervisor supervisor | set the value related to the column supervisor id |
public void set uusers java util set com example erp uuser u users this u users u users | set the value related to the column uusers |
public void init throws unknown host exception ioexception if this socket null this socket new socket this host this port | initialize connection br |
public packet send packet message throws ioexception class not found exception closed connection exception communication error occured if is connected throw new closed connection exception packet response object input stream input stream object output stream output stream new object output stream this socket get output stream output stream write object message input stream new object input stream this socket get input stream response packet input stream read object if is server accepted response message return response return null | sending a message to server then returns its response |
public int get selected index int index this message list get selected index return index | returns selected items index |
public object get selected object int index this message list get selected index object message this message list model get index return message | returns selected object from list |
public int read throws ioexception if count 0 return 1 int n in read if n 1 throw new cab exception premature eof count 1 return n | reads a byte of data |
public void do handle interrupt my out print this timer htimer set 10 thread cb dispatch | this basically only needs to reset the times and dispatch another |
static public thread cb do create task cb task criacao do objeto thread thread cb new thread new thread cb verificar se pode adicionar a thread na task if task get thread count thread cb max threads per task return null adicionar na task if task add thread new thread failure return null new thread set task task thread pertence a task new thread set priority 0 sem prioridade no projeto new thread set status thread ready ready queue append new thread ok na ready queue dispatch return new thread | sets up a new thread and adds it to the given task |
public void do kill task cb task this get task switch this get status case thread kill break case thread ready ready queue remove this break case thread running mmu get ptbr get task set current thread null mmu set ptbr null break default for int i 0 i device get table size i device get i cancel pending io this break this set status thread kill task remove thread this resource cb giveup resources this if task get thread count 0 task kill thread cb dispatch | kills the specified thread |
public void do suspend event event switch this get status case thread kill break case thread ready return case thread running event add thread mmu get ptbr get task get current thread mmu get ptbr get task get current thread set status thread waiting mmu get ptbr get task set current thread null mmu set ptbr null break default event remove thread this this set status this get status 1 event add thread this break thread cb dispatch | suspends the thread that is currenly on the processor on the specified |
public void do resume switch this get status case thread kill break case thread ready return case thread waiting this set status thread ready ready queue append this break default this set status this get status 1 break thread cb dispatch | resumes the thread |
public int do get thread count return this threads list size | returns a count of the number of threads in this task |
public int do add thread thread cb thread if this do get thread count thread cb max threads per task this threads list add thread return task cb success else return task cb failure | adds the specified thread to this task |
public int do remove thread thread cb thread if this threads list contains thread this threads list remove thread return task cb success else return task cb failure | removes the specified thread from this task |
public int do get port count return this ports list size | return number of ports currently owned by this task |
public int do add port port cb new port if this do get port count port cb max ports per task this ports list add new port return task cb success else return task cb failure | add the port to the list of ports owned by this task |
public int do remove port port cb old port if this ports list contains old port this ports list remove old port return task cb success else return task cb failure | remove the port from the list of ports owned by this task |
public void do add file open file file this open files list add file | insert file into the open files table of the task |
public int do remove file open file file if this open files list contains file this open files list remove file return task cb success else return task cb failure | remove file from the tasks open files table |
public object set property final string key final string value object tmp super set property key value if tmp null tmp equals value dirty true return tmp | calls the code set property code method on the underlying |
public void store throws parameter exception logger debug storing persistent properties in file get absolute path if immutable throw new parameter exception parameter exception enum could not store data storing this properties collection back to persistent storage is not permitted if dirty try file output stream out new file output stream file store out header out close dirty false catch ioexception e throw new parameter exception parameter exception enum could not store data e saving data back to persistent storage failed | store the contents of the code properties code collection to the |
public container exception enum get error code return this error code | returns the error code value |
public int get rc return this error code get rc | return the returncode of the error |
public cleaner get cleaner final int index throws container exception object tmp get object index if tmp instanceof cleaner return cleaner tmp throw new container exception container exception enum object of wrong type | return the code cleaner code object from index position |
public transport get transport final int index throws container exception object tmp get object index if tmp instanceof transport return transport tmp throw new container exception container exception enum object of wrong type | return the code transport code object from index position |
public int size throws container exception if objs null throw new container exception container exception enum unintialised return objs size | return the number of objects contained within this code container code |
protected object get object final int index throws container exception if objs null throw new container exception container exception enum unintialised try return objs get index catch index out of bounds exception e throw new container exception container exception enum index out of bounds e | return the object from index position code index code |
public string transform filename final string filename template return super transform filename filename template | builds a filename from code filename template code and replaces |
public void open throws generation exception parameter exception super open get an output factory xmloutput factory xmlof xmloutput factory new instance try instantiate a writer xmlw xmlof create xmlstream writer get outfile utf 8 catch xmlstream exception e throw new generation exception generation exception enum setup error e | open and creates the output file and associated logic |
public void close throws generation exception try flush and close the xmlstream writer to free up resources if xmlw null xmlw flush xmlw close xmlw null super close catch xmlstream exception e throw new generation exception generation exception enum error while closing file e | flush and close the output file and try to release all resources |
public schema compile schema final file schema throws generation exception try get the schema factory instance which understands w3 c xml schema language schema factory sf schema factory new instance http www w3 org 2001 xmlschema return sf new schema schema catch saxexception e throw new generation exception generation exception enum setup error e could not compile xml schema file schema to string | parses the given schema and return in memory representation of that |
public xmlstream writer get xmlw return xmlw | return the code xmlstream writer code used to output xml |
public generation exception enum get error code return this error code | returns the error code value |
public void write footer throws generation exception xmlstream writer xmlw get xmlw try end the root element xmlw write end element end the xml document xmlw write end document catch xmlstream exception e throw new generation exception generation exception enum error while writing output e | writes the footer for the xml file |
public void close throws generation exception flush and close the outputfile too try if outfile null outfile flush file descriptor fd compression get file out stream get fd fd sync outfile close catch ioexception e throw new generation exception generation exception enum internal error e outfile null | flush and close the output file and try to release all resources |
public string transform filename final string filename template string tmp tmp filename template replace all country id country id tmp tmp replace all biobank id biobank id tmp tmp replace all biobank division id biobank division id return super transform filename tmp | builds a filename from code filename template code and replaces |
public void store persistent properties throws parameter exception if persistent properties null persistent properties store | store persistent properties to physical storage |
public string transform filename final string filename template in string tmp filename template in if tmp index of serial 0 if serial null serial new integer 1 else serial new integer serial int value 1 yuck tmp tmp replace all serial serial to string if datasource null tmp datasource transform filename tmp if compression null tmp compression transform filename tmp make the last adjustments to the filename tmp tmp replace all return tmp | builds a filename from code filename template code and replaces |
public void move to output directory throws generation exception file tmp new file new file output dir file get name if file rename to tmp new file set finalised true logger info file moved from file to tmp new file else throw new generation exception generation exception enum could not move file could not move file from file to tmp new file | moves a file to its output directory and sets finalise to true |
public void write start sample collection throws generation exception write start sample collection sample collection id complete | write the start of a sample collection using the internal value for |
public datasource get datasource return datasource | returns the code datasource code associated with this |
public compression get compression return compression | getter for compression |
public void write end sample collection throws generation exception xmlstream writer xmlw get xmlw try xmlw write end element xmlw write characters n catch xmlstream exception e throw new generation exception generation exception enum error while writing output e | write the end of a sample collection |
public persistent properties file get persistent properties return persistent properties | returns the code persistent properties file code object used for this |
public file get failed output dir return failed output dir | returns a code file code that points to a directory for failed |
public boolean is finalised return finalised | checks if a code datafile code is finalised |
public void set finalised final boolean finalised in finalised finalised in | sets a code datafile code s finalisation status |
public void open throws gathering exception super open | aquire and open resources neccesary for gathering the data |
public void close throws gathering exception super close | close previously aquired resources |
public output stream get outfile return outfile | the handler for the output stream |
public string get companion datafile return companion datafile | returns the name of the code datafile code class that is expected to |
public string transform filename final string filename template in string tmpfilename template filename template in tmpfilename template tmpfilename template replace all country id country id tmpfilename template tmpfilename template replace all lab id lab id tmpfilename template tmpfilename template replace all now now to string replace all return super transform filename tmpfilename template | builds a filename from code filename template code and replaces |
public int get serial return serial int value | return the serial number of the file |
public void move to failed output directory throws generation exception file tmp new file new file failed output dir file get name if file rename to tmp new file logger info file moved from file to tmp new file else throw new generation exception generation exception enum could not move file could not move file from file to tmp new file | if a file is failed it could be moved to a specific directory |
protected string get field final int index throws gathering exception if fields null if index fields length throw new gathering exception gathering exception enum index out of bounds can t read field index zero based since the line has only fields length fields else return fields index else throw new gathering exception gathering exception enum data not available the line contains no data | return the contents of a field in a previously read line |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.