id
stringlengths
36
36
text
stringlengths
1
1.25M
80323a90-9b8d-40b2-ab65-d5bdf764aa52
public crmondemand.xml.opportunity.query.QueryType getCustomCurrency3() { return this.customCurrency3; }
cd1cddc5-6cab-4075-9f80-fe18851fe50e
public void setCustomNumber22(crmondemand.xml.customobject6.query.QueryType customNumber22) { this.customNumber22 = customNumber22; }
0583e920-bd20-44ff-89c2-bd4ed3e430fa
public void setCustomInteger33(crmondemand.xml.customobject6.query.QueryType customInteger33) { this.customInteger33 = customInteger33; }
53a9425e-784e-4980-b1f4-d0cbd1a9e11c
public crmondemand.xml.customobject6.query.QueryType getCustomPickList71() { return this.customPickList71; }
c4f9efa5-5103-4f49-9b40-3d1d9dff85c0
@Override public List<Product> getProducts(String namePattern) { Session session = null; Transaction trx = null; List results = null; try { session = sessionFactory.openSession(); trx = session.beginTransaction(); Criteria cr = session.createCriteria(Product.class); cr.add(Restrictions.like("title", namePattern)); System.out.println("here!"); results = cr.list(); System.out.println("----------------------------"); System.out.println("QUERY FOR PRODUCTS LIKE : " + namePattern); System.out.println("RESULTS: "); Iterator it = results.iterator(); while(it.hasNext()) { System.out.println(it.next()); } trx.commit(); } catch(HibernateException e) { if(trx != null) { try { trx.rollback(); } catch(HibernateException he) {} } } finally { try { if( session != null ) session.close(); } catch( Exception exCl ) {} } return results; }
deb25e6d-f477-4b5e-9d14-188b38ee177a
public void setAttackDescriptor(String d) { attackDescriptor = d; }
353e07b8-44c4-4296-aa7b-cd6be73b9558
public void setCustomDate31(java.util.Calendar customDate31) { this.customDate31 = customDate31; }
b5643cc1-951f-45f8-883c-21f21564f6da
public void setCustomDate44(crmondemand.xml.contact.query.QueryType customDate44) { this.customDate44 = customDate44; }
0e90b64a-f9e4-4bf7-a6a9-909fcb325d43
private static Texture getAndAddTextureToTable(File textureFile,String filename) { try { Texture ret = TextureIO.newTexture(textureFile, true); TextureObject.textureTable.put(filename, ret); return ret; } catch (GLException | IOException e) { System.out.println("Error while reading TextureData from file: Cannot read data."); e.printStackTrace(); return null; } }
b49fadaf-23a9-45f8-9bd9-ea8a6059918c
public java.util.Calendar getCustomDate26() { return this.customDate26; }
dca099ca-dade-4746-ad6b-5eb6446d9482
public void setContent(String content) { Content = content; }
2761f78d-1a6c-4c3a-91e3-3a1c9c9e44bb
public void setCustomObject5Name(crmondemand.xml.contact.query.QueryType customObject5Name) { this.customObject5Name = customObject5Name; }
45e07c46-9542-4e68-9898-b15d6ccf4629
public java.lang.Boolean getCustomBoolean7() { return this.customBoolean7; }
a7f53723-e4e9-4650-9de3-6f5235081b23
public void setCustomText79(crmondemand.xml.opportunity.query.QueryType customText79) { this.customText79 = customText79; }
334057fe-2683-4f9f-bc55-0f9e975f7ee9
public crmondemand.xml.customobject6.query.QueryType getNeverEmail() { return this.neverEmail; }
d8998683-d5db-4d04-8629-4709ad0e719a
public void addUser(User user);
2e395e29-1aef-4678-9ec4-9d7679b19895
public void setMaritalStatus(MaritalStatus maritalStatus) { this.maritalStatus = maritalStatus; }
d37f0362-c33e-46c5-871b-4f844cf5ef3b
public crmondemand.xml.customobject6.query.QueryType getInvtPeriodId() { return this.invtPeriodId; }
f51d6e8b-ad42-46bd-8279-faa6c54f0774
public void setCustomNumber38(crmondemand.xml.contact.query.QueryType customNumber38) { this.customNumber38 = customNumber38; }
ccf5b14e-ab21-4e32-93ad-dcde676c35dc
public crmondemand.xml.customobject6.query.QueryType getCustomInteger8() { return this.customInteger8; }
65888eeb-d8b2-4a95-8b4d-04b7c0d1d802
public void setCustomNumber19(java.math.BigDecimal customNumber19) { this.customNumber19 = customNumber19; }
7074a5f1-37d9-4350-9064-9e208a11d8f5
public java.util.Calendar getFinancialAccountExchangeDate() { return this.financialAccountExchangeDate; }
17eb9cf2-c89f-4f39-a990-ddb815a224b3
@Override public boolean equals(Object obj) { boolean equals = this == obj; if(!equals) { equals = obj != null && obj instanceof DTO; } return equals; }
81101696-d4d4-4007-9b35-964f2f6ab812
public void save() { obj.getJobs().clear(); for (Component c : panelGrid.getComponents()) { if (c instanceof PanelJob) { PanelJob panel = (PanelJob)c; obj.getJobs().add(panel.save()); } } }
a413849d-4c86-497e-a2fd-480080d12e34
public void put(Key key, Value val) { root = put(root, key, val); }
8f9b5508-95d8-475a-b25a-499e4cb627f2
public TranslatePanel() { super(); setPreferredSize(new Dimension(600, 400)); BoxLayout layout = new BoxLayout(this, BoxLayout.Y_AXIS); //setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); setLayout(layout); add(Box.createRigidArea(new Dimension(0,130))); errorMsgLabel = new JLabel(" "); errorMsgLabel.setAlignmentX(Component.CENTER_ALIGNMENT); errorMsgLabel.setForeground(Color.RED); add(errorMsgLabel); JPanel xmlNamePane = new JPanel(new FlowLayout(FlowLayout.TRAILING)); xmlNamePane.add(new JLabel("Enter the XML file name")); xmlNamePane.add(getXmlNameField()); xmlNamePane.add(new JLabel(" ")); xmlNamePane.setAlignmentX(Component.CENTER_ALIGNMENT); add(xmlNamePane, layout); JPanel directoryPane = new JPanel(new FlowLayout(FlowLayout.TRAILING)); directoryPane.add(new JLabel("Save to")); directoryPane.add(getPathField()); directoryPane.add(new JLabel(" ")); directoryPane.add(getBrowseButton()); directoryPane.add(new JLabel(" ")); directoryPane.setAlignmentX(Component.CENTER_ALIGNMENT); add(directoryPane, layout); JPanel bottomPanel = new JPanel(new FlowLayout(FlowLayout.TRAILING)); bottomPanel.add(getTranslateButton()); bottomPanel.add(getPrevButton()); bottomPanel.add(new JLabel(" ")); bottomPanel.add(new JLabel(" ")); bottomPanel.setAlignmentX(Component.CENTER_ALIGNMENT); add(bottomPanel, layout); add(Box.createRigidArea(new Dimension(0,130))); }
026e30ac-f21f-4943-8305-e0618f941aa3
public void setCustomBoolean21(java.lang.Boolean customBoolean21) { this.customBoolean21 = customBoolean21; }
80362358-65ee-4ac0-b2d6-8b03fec1081e
public crmondemand.xml.customobject3.query.QueryType getCustomObject15ExternalSystemId() { return this.customObject15ExternalSystemId; }
7802cecf-6c5c-4ff1-b4ac-75dabcab4f1a
public crmondemand.xml.customobject6.query.QueryType getCustomDate40() { return this.customDate40; }
b780fce4-a138-4639-9f19-e27cc0e4a3dc
public crmondemand.xml.contact.query.QueryType getOwnerUserSignInId() { return this.ownerUserSignInId; }
c9ccdaec-9ab4-42ff-b30e-aad723af460d
private com.google.protobuf.ByteString getUseridBytes() { java.lang.Object ref = userid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((String) ref); userid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } }
0b91286e-4ada-448e-9d12-8b45916faa41
public static void main(String[] args) { // TODO Auto-generated method stub Person s1 = new Person(); Person s2 = new Person(); s1.name = "田中"; s1.age = 15; s1.tel = "090-1234-5678"; s1.adress = "新宿区百人町"; s2.name = "山田"; s2.age =20; s2.tel = "090-9876-4321"; s2.adress = "港区六本木"; s1.showInfo1(); s1.showTel(); s1.showAdress(); //s1.void showInfo2() s2.showInfo1(); s2.showTel(); s2.showAdress(); //s2.void showInfo2() }
39ce508b-1217-47fa-bc40-cc887fa378f7
public void setCustomText59(crmondemand.xml.opportunity.query.QueryType customText59) { this.customText59 = customText59; }
bff94141-fcca-41bb-86a8-42b8f36055ab
public void setCustomBoolean23(crmondemand.xml.contact.query.QueryType customBoolean23) { this.customBoolean23 = customBoolean23; }
ba5544bb-212e-4036-ae03-0681848366c7
public void setCustomText53(crmondemand.xml.customobject6.query.QueryType customText53) { this.customText53 = customText53; }
9b13775b-2aae-4827-8890-c087ea689ad2
public crmondemand.xml.customobject6.query.QueryType getCustomBoolean31() { return this.customBoolean31; }
65d50cb6-3f5f-4efe-92e9-92d3a9238b2b
public void setCustomDate5(java.util.Calendar customDate5) { this.customDate5 = customDate5; }
e03a206e-ac8d-4d4d-a1b0-c25d6fbae1a5
public java.lang.String getCustomPickList48() { return this.customPickList48; }
b878282a-e022-400b-b2c5-d75700cc41ea
public crmondemand.xml.customobject6.query.QueryType getZCustomDate2() { return this.zCustomDate2; }
d482abc3-1fe0-4064-9091-a68640695763
public java.lang.String getCustomText32() { return this.customText32; }
3e3cce14-f915-48ce-b52f-a82952c3232a
public void setCustomDate14(crmondemand.xml.contact.query.QueryType customDate14) { this.customDate14 = customDate14; }
f2b8dd2c-fff2-4cb4-bfdf-1a23addc40c7
public void setCustomNumber49(crmondemand.xml.customobject6.query.QueryType customNumber49) { this.customNumber49 = customNumber49; }
41e1acf5-aea0-4386-bfc8-0814d5905831
public java.lang.String getCustomObject14Id() { return this.customObject14Id; }
d659b172-caf7-48d2-80f7-67003e88e024
public static String getStringType(String candidate) { //remember zero does not indicate the value very well! if (candidate.equals("") || candidate.equals(" ") || candidate.equals("0")) { //System.out.println("STRNG: " + candidate + " + TYPE UNKOWN"); return "unknown"; } else if (isInteger(candidate)) { //System.out.println("STRNG: " + candidate + " + TYPE INT"); return "int"; } else if (isFloat(candidate)) { //System.out.println("STRNG: " + candidate + " + TYPE FLOAT"); return "double"; } else if (isDate(candidate)) { //System.out.println("STRNG: " + candidate + " + TYPE DATE"); return "date"; } else { //System.out.println("STRNG: " + candidate + " + TYPE String"); return "String"; } }
4a3b16d0-49d5-4181-8ab2-afce870a751b
public void setCustomBoolean1(crmondemand.xml.opportunity.query.QueryType customBoolean1) { this.customBoolean1 = customBoolean1; }
ee8d1081-f8c5-47d9-a95e-fa481596f3d8
public void setCustomNumber50(crmondemand.xml.customobject6.query.QueryType customNumber50) { this.customNumber50 = customNumber50; }
6bd1688e-5e1d-41ff-8801-2d4076d13cb6
public java.lang.String getUpdatedByExternalSystemId() { return this.updatedByExternalSystemId; }
2efb1a75-256b-49ee-a105-7a4b8e368197
public void setCustomText58(crmondemand.xml.opportunity.query.QueryType customText58) { this.customText58 = customText58; }
7b56b82c-d47c-4a28-bc4b-b869d0daaee0
public void setUpdatedByExternalSystemId(crmondemand.xml.contact.query.QueryType updatedByExternalSystemId) { this.updatedByExternalSystemId = updatedByExternalSystemId; }
1fc76f28-56bb-4f38-b0f7-80ab6d10912f
public crmondemand.xml.customobject6.query.QueryType getZCustomText75() { return this.zCustomText75; }
b4e07455-7c7f-4cd9-940a-401bff844c55
public java.lang.String getCustomText37() { return this.customText37; }
67934a32-f1b7-4e1e-9904-8089a8a68494
public java.lang.String getCustomPhone16() { return this.customPhone16; }
b653bba7-200f-4398-866b-74a0157c3507
public void setCustomNumber42(crmondemand.xml.customobject6.query.QueryType customNumber42) { this.customNumber42 = customNumber42; }
88dbd4d2-5ce7-45c3-9466-dad79938daf8
public Animation(AnimationType type, int fps, long duration) { this.type = type; this.duration = duration; int delay = 1000 / fps; timer = new Timer(delay, this); timer.setCoalesce(true); timer.setInitialDelay(0); }
1a3a0feb-8d0d-44f3-be03-01c8c6e7d88f
public java.lang.String getSampleLotId() { return this.sampleLotId; }
092b3a11-2ccb-41c6-afc7-b7a86fbab735
public void setCustomObject10Id(java.lang.String customObject10Id) { this.customObject10Id = customObject10Id; }
72b7d1e7-8c2e-494c-9539-e7a20258cca9
opcode fd_6e = new opcode() { public void handler()/* LD L,(IY+o) */ { //EAY; _L = RM(EA); EAY(); Z80.HL.SetL(cpu_readmem16((int)EA) & 0xFF); }}
5c281f70-894b-42c9-95b8-75652a03edeb
public static String inputPassword(Frame owner, String loginName) { PasswordDialog dialog = new PasswordDialog(owner, loginName); dialog.setLocation(owner.getLocation()); dialog.setVisible(true); return String.copyValueOf(dialog.password.getPassword()); }
54c12519-c478-4e44-8461-f1099280dd9c
@Override protected double computeMaxHeight(final double WIDTH, double TOP_INSET, double RIGHT_INSET, double BOTTOM_INSET, double LEFT_INSET) { return super.computeMaxHeight(Math.min(MAXIMUM_SIZE, WIDTH - LEFT_INSET - RIGHT_INSET), TOP_INSET, RIGHT_INSET, BOTTOM_INSET, LEFT_INSET); }
8ee156a8-d3b2-4821-a720-fd8eb82828ce
public void setCustomObject12IntegrationId(java.lang.String customObject12IntegrationId) { this.customObject12IntegrationId = customObject12IntegrationId; }
1c8d7d18-633e-412e-b8ca-df5c0c0d85e9
public void setCustomNumber12(crmondemand.xml.contact.query.QueryType customNumber12) { this.customNumber12 = customNumber12; }
2d084c31-63dd-4162-ac1c-e93f11187fda
public void setSolutionReleaseDate(crmondemand.xml.opportunity.query.QueryType solutionReleaseDate) { this.solutionReleaseDate = solutionReleaseDate; }
7c7e1f24-25ac-4b7b-87ef-18aba594a7ce
public crmondemand.xml.contact.query.QueryType getCustomInteger19() { return this.customInteger19; }
f91e7897-ca0e-4f8b-88ac-1f90a7834a6a
public java.lang.String getCustomObject4Id() { return this.customObject4Id; }
d6dba1b3-d534-4a70-ab9e-897a17f83cc5
public java.lang.String getOwnerIntegrationId() { return this.ownerIntegrationId; }
c50c17d1-b263-4fff-813f-404540abd482
public java.lang.String getCustomPickList13() { return this.customPickList13; }
03d2aa7d-d4f8-44e7-ad72-bf3305ec8b76
public crmondemand.xml.opportunity.query.QueryType getCustomDate2() { return this.customDate2; }
f85fdc2b-af22-4bd3-9013-e0605c908740
public crmondemand.xml.customobject6.query.QueryType getCustomPickList53() { return this.customPickList53; }
d381f732-95f3-4ee4-8aa9-7c0d09bca3d7
public void setCustomText17(crmondemand.xml.contact.query.QueryType customText17) { this.customText17 = customText17; }
7ca6d60d-6a40-4ab8-bed8-83ce7c859f83
public crmondemand.xml.customobject6.query.QueryType getCustomObject4ExternalSystemId() { return this.customObject4ExternalSystemId; }
5d364d85-7873-4957-ac5d-d21e43994689
public void setCustomPickList64(java.lang.String customPickList64) { this.customPickList64 = customPickList64; }
104ad6b0-0008-4fd7-89e1-e233a50195f2
public crmondemand.xml.opportunity.query.QueryType getCustomObject11Type() { return this.customObject11Type; }
bf656673-fca5-4d59-b833-ab5e1ef58954
public void setIndexedNumber0(crmondemand.xml.contact.query.QueryType indexedNumber0) { this.indexedNumber0 = indexedNumber0; }
acac2299-815e-4a10-a4cb-5b00c425ab4c
public crmondemand.xml.contact.query.QueryType getCustomBoolean12() { return this.customBoolean12; }
06a01358-3a8b-4cc5-bf3f-05d5c28b832e
public int upgradeRoom(int room_number,String start_day,int period){ String type_query = "select type from room where room_number="+room_number; String type = helper.executeSelectQuery(type_query)[0][0].toString(); // System.out.println(type); String new_type=""; // standard / superior / deluxe / suite Դϴ. (ϼ ) if(type.equals("standard")){ new_type = "superior"; }else if(type.equals("superior")){ new_type = "deluxe"; }else if(type.equals("deluxe")){ new_type = "suite"; }else if(type.equals("suite")){ return room_number; } String find_room_query = "select room_number from room where type='"+new_type+"'"; // System.out.println(find_room_query); Object[][] room = helper.executeSelectQuery(find_room_query); for(int i=0;i<room.length;i++){ for(int j=0;j<room[i].length;j++){ // System.out.println(room[i][j].toString()); if(!checkRoom(new Integer(room[i][j].toString()).intValue(), start_day,period)){ // System.out.println(room[i][j].toString()); return new Integer(room[i][j].toString()).intValue(); } } } return room_number; }
7b43ac1e-b7a8-4bc5-a4a8-712dde0cb2e8
public boolean equals(getCourse_args that) { if (that == null) return false; boolean this_present_courseNumber = true && this.isSetCourseNumber(); boolean that_present_courseNumber = true && that.isSetCourseNumber(); if (this_present_courseNumber || that_present_courseNumber) { if (!(this_present_courseNumber && that_present_courseNumber)) return false; if (!this.courseNumber.equals(that.courseNumber)) return false; } return true; }
d89c90e5-ccea-49ab-a7ef-1dcf75a9b540
public void setScore(Integer score) { this.score = score; }
1e8420a9-44f0-419a-be23-ef4aeef5422d
public void setCustomPickList8(java.lang.String customPickList8) { this.customPickList8 = customPickList8; }
7a4ce815-5cbf-408f-b75f-bd5c1c2931e6
@Override public int findRoomDir(MOB mob, Room R) { if((mob==null)||(R==null)) return -1; final Room R2=mob.location(); if(R2==null) return -1; final int dir=-1; for(int d=Directions.NUM_DIRECTIONS()-1;d>=0;d--) { if(R2.getRoomInDir(d)==R) return d; } return dir; }
b00cedab-7cb0-4332-be32-85ea7a1bca8c
public void setCustomObject11Id(java.lang.String customObject11Id) { this.customObject11Id = customObject11Id; }
5a8c1910-48d9-4468-81f2-e4b85905bd2d
public void setCampaignType(java.lang.String campaignType) { this.campaignType = campaignType; }
63c385f1-1808-4bd5-85f6-3e290a1be280
public crmondemand.xml.customobject6.query.QueryType getCustomObject15Id() { return this.customObject15Id; }
07a53a12-5689-4109-a1c7-ed86baefb4b2
public void setOpportunityAccountName(java.lang.String opportunityAccountName) { this.opportunityAccountName = opportunityAccountName; }
2f43b4cf-98d8-4d4b-a621-a511ec56a07f
public java.lang.String getCustomText85() { return this.customText85; }
6e2286c1-9c09-4f20-8ced-30d4b13e2586
public java.math.BigDecimal getCustomNumber2() { return this.customNumber2; }
23fe33d1-a647-4be2-b2df-107657f1f295
public MecanicoDTO getMecanicoDTO(Mecanico mecanico) { MecanicoDTO mecanicoDTO = new MecanicoDTO(); mecanicoDTO.setId(mecanico.getId()); mecanicoDTO.setNombre(mecanico.getNombre()); return mecanicoDTO; }
c4ae7658-9fd7-40bd-adf1-f50428a5ac3f
public void setZCustomPickList20(crmondemand.xml.customobject6.query.QueryType zCustomPickList20) { this.zCustomPickList20 = zCustomPickList20; }
16a102f5-9793-4631-9748-7669d6962156
public java.math.BigDecimal getCustomNumber25() { return this.customNumber25; }
9d0b3bd1-eb76-4e4b-ba13-3e21b828fe1a
public crmondemand.xml.opportunity.query.QueryType getCustomCurrency17() { return this.customCurrency17; }
c58d5754-4c53-4ec5-9fa5-29b456d92bf5
public crmondemand.xml.customobject6.query.QueryType getCustomNumber13() { return this.customNumber13; }
2ab88b2c-1803-4f50-a35b-49339d52b13f
public void actionPerformed(ActionEvent e) { reset(); }
bf9b1e2a-6d32-4c29-807b-0143dc193b0c
public void setPolicyFaceAmount(java.math.BigDecimal policyFaceAmount) { this.policyFaceAmount = policyFaceAmount; }
7792551a-f425-4519-afd9-0c4b0dda2468
public java.lang.Boolean getUserPreferencesDisableLikeEmail() { return UserPreferencesDisableLikeEmail; }
a12ce3dc-164a-43b8-880f-46ebc482b460
public java.lang.String getCreatedByLastName() { return this.createdByLastName; }
56243de9-3b5c-4e48-a052-0f5ded1d1813
public void setCustomNumber55(java.math.BigDecimal customNumber55) { this.customNumber55 = customNumber55; }
2568bcbf-f305-448f-9899-9e4a008069ef
public java.lang.String getCustomText36() { return this.customText36; }
13ba1b00-8669-4fa6-88b1-2504e5c0603a
public void setCustomNumber64(java.math.BigDecimal customNumber64) { this.customNumber64 = customNumber64; }
a1808d2a-f829-44df-937c-452f7ce3f618
public void setCustomPickList25(java.lang.String customPickList25) { this.customPickList25 = customPickList25; }
9dfc815f-21be-4c7d-a95d-f6bcc88c3938
public void setCustomNumber5(crmondemand.xml.contact.query.QueryType customNumber5) { this.customNumber5 = customNumber5; }
fb658d0f-5f7d-4741-944e-2d7e1eee7ecc
public crmondemand.xml.customobject6.query.QueryType getCustomText84() { return this.customText84; }