id
stringlengths
36
36
text
stringlengths
1
1.25M
db3cc625-c1ed-4e27-9f86-8b5091e9b15d
public java.math.BigDecimal getCustomCurrency8() { return this.customCurrency8; }
09ad05a0-7991-49b4-a494-9fbdfc2ed215
public crmondemand.xml.customobject6.query.QueryType getCustomText115() { return this.customText115; }
777d8162-ac14-42a5-8294-54c7c78a7984
@Override public boolean isStat(String code) { if((getCodeNum(code)>=0) ||(questState.vars.containsKey(code))) return true; return false; }
f31f870d-c3cf-4a3d-8ea8-f6b27f12016b
public void setMessageResponseMessage(crmondemand.xml.opportunity.query.QueryType messageResponseMessage) { this.messageResponseMessage = messageResponseMessage; }
6c4a2890-e0ea-48ec-b307-99174f292caf
public void setLeadId(crmondemand.xml.contact.query.QueryType leadId) { this.leadId = leadId; }
5eead94f-e9ed-4a93-a9c3-eeb2d44d8995
public void setContactNameIntegrationId(java.lang.String contactNameIntegrationId) { this.contactNameIntegrationId = contactNameIntegrationId; }
b1e512f1-194c-4a1d-9ff7-199e6dec1bff
public crmondemand.xml.customobject3.query.QueryType getLeadExternalSystemId() { return this.leadExternalSystemId; }
f97a6b49-bfb3-4530-893f-5260569ff3fb
public void setCustomText31(java.lang.String customText31) { this.customText31 = customText31; }
46c1b14a-0a98-4838-8d70-e75580388d54
public crmondemand.xml.contact.query.QueryType getPlanNameType() { return this.planNameType; }
2014830b-cb32-4ea1-8b4d-7f51aec3fd78
public java.lang.String getCustomPickList28() { return this.customPickList28; }
36c5278d-ed43-4a62-b751-03c53ca27256
public void setCustomInteger10(crmondemand.xml.customobject6.query.QueryType customInteger10) { this.customInteger10 = customInteger10; }
c39ddeae-6482-485b-ae81-c5434bc41f8d
@Override public void enterRule(ParseTreeListener listener) { if ( listener instanceof JavaListener ) ((JavaListener)listener).enterVariableDeclaratorId(this); }
b41bc880-d235-4f8b-b2ab-4a626418235d
public java.lang.String getCustomText48() { return this.customText48; }
ef31db2d-5d2e-4131-a9be-486de77a359d
opcode m6502_de = new opcode() { public void handler() { m6502_ICount[0] -= 7; int tmp=RD_ABX(); int tmp2=DEC(tmp); WB_EA(tmp2); if(m6502log!=null) fprintf(m6502log,"M6502#%d de :PC:%d,PPC:%d,SP:%d,ZP:%d,EA:%d,A:%d,X:%d,Y:%d,P:%d,p_irq:%d,a_c:%d,nmi:%d,irq:%d,so:%d\n", cpu_getactivecpu(),m6502.pc.D,m6502.ppc.D,m6502.sp.D,m6502.zp.D,m6502.ea.D,m6502.a,m6502.x,m6502.y,m6502.p,m6502.pending_irq,m6502.after_cli,m6502.nmi_state,m6502.irq_state,m6502.so_state); }}
c81acd5b-e8c7-4f8d-8ab5-d8468899eb1e
public int getMineralPriceBase() { return mineralPriceBase_; }
5b74d979-7e45-446c-a378-3b30c9d85af0
public crmondemand.xml.customobject6.query.QueryType getCustomObject13Type() { return this.customObject13Type; }
eac2059d-3219-40cf-8c8c-a058db0a7192
public String getFirst() { return first; }
70836086-1be2-46d1-8ebb-2b09c6bcb5b6
public void setModalPremium(java.math.BigDecimal modalPremium) { this.modalPremium = modalPremium; }
1a1d67cc-8ec9-45f3-83b0-c8faf83459b7
public java.lang.String getCustomText61() { return this.customText61; }
0fb35a0b-deb4-41e4-817b-46dfd52a9fae
public void test_minusWeeks_normal() { OffsetDate t = this.TEST_2007_07_15_PONE.minusWeeks(1); assertEquals(t, OffsetDate.of(2007, 7, 8, OFFSET_PONE)); } @Test(groups = { "tck" }
1e975a11-c138-4a33-87b8-27c6e861883b
public void setCustomPickList23(crmondemand.xml.opportunity.query.QueryType customPickList23) { this.customPickList23 = customPickList23; }
ee0026b4-88df-4ac6-96b4-aaed8759af6f
public java.lang.Boolean getCustomBoolean21() { return this.customBoolean21; }
858a6997-b02a-4ab8-a734-8c7a019b7caf
public void setCustomObject4IntegrationId(crmondemand.xml.contact.query.QueryType customObject4IntegrationId) { this.customObject4IntegrationId = customObject4IntegrationId; }
cdc5eae6-2886-41dc-aa77-dd0e3aa8cfa1
public void setCustomPickList21(java.lang.String customPickList21) { this.customPickList21 = customPickList21; }
7e45ecdd-8485-4063-9e48-d37291bf1b65
public crmondemand.xml.customobject6.query.QueryType getCreatedByExternalSystemId() { return this.createdByExternalSystemId; }
389a66e5-45f3-448c-9194-b80287da54f3
public void setCustomDate21(crmondemand.xml.customobject6.query.QueryType customDate21) { this.customDate21 = customDate21; }
b2a8d95d-c797-4bd3-b21b-d6c8bb84d0a8
public void setBusinessPlanExternalSystemId(crmondemand.xml.contact.query.QueryType businessPlanExternalSystemId) { this.businessPlanExternalSystemId = businessPlanExternalSystemId; }
fd2b1f6a-e281-4dbc-b68e-caee0069cc3a
public static void main (String args[]) { //o̓t@C͉sŋ؂1xNgŁA1sɒl(Ԃz)̂ݏB //t@C͓KȐ悤ɂB try { int fileNum = 1; //o̓t@C̐ int clusterMax = 3; //NX^̐(z̐̕) if (args.length >= 1) { //Ȃo̓t@C̐ƃNX^̐ɂꂼΉ fileNum = Integer.parseInt(args[0]); if (args.length >= 2) { clusterMax = Integer.parseInt(args[1]); } } int size = 20000; //sɃfBNgȂ΍ Date date = new Date(); String dirNum = Long.toString(date.getTime()); String path = "data" + dirNum.substring(5); File outPath = new File(path); if (!outPath.isDirectory()) { outPath.mkdir(); } int itr = 1; int denom = 0; while(itr<=clusterMax){ //d݌p̕‚ denom += itr; itr++; } for (int f = 0; f < fileNum; f++) { //double[] p = new double[clusterMax]; //d(m) double[] phi = new double[clusterMax]; double[] trans = new double[clusterMax]; //sړ double[] mean = new double[clusterMax]; double[] scale = new double[clusterMax]; //g嗦 double[] var = new double[clusterMax]; //U int[] dataNum = new int[clusterMax]; double transMin = 0.0; //όp̉l for (int k=0; k<clusterMax; k++) { //z̃p[^ //p[k] = (clusterMax - k)/denom; trans[k] = transMin + 5000*(k+1)/denom + Math.random()*1000 - 500; transMin = trans[k]; scale[k] = Math.random()*2500; phi[k] = 0.0; var[k] = 0.0; } int[] counter = new int[100]; for (int c=0; c<100; c++) { counter[c] = 0; } //o File outf = new File(path + String.format("/%04d.csv", f)); OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(outf)); BufferedWriter bw = new BufferedWriter(osw); double[] data = new double[size]; int[] cluster = new int[size]; Random rnd = new Random(); for (int i=0; i<size; i++) {//f[^ int index = cluster(clusterMax); cluster[i] = index; dataNum[index]++; phi[index]++; //rnd.setSeed(date.getTime()); while (true){ double raw = rnd.nextGaussian(); data[i] = raw*scale[index] + trans[index]; if (data[i] >= 0 && data[i] < 10000) { break; } } int cIndex = (int)data[i]/100; counter[cIndex]++; mean[index] += data[i]; } for (int k=0; k<clusterMax; k++) { phi[k] /= size; mean[k] /= (double)dataNum[k]; } for (int i=0; i<size; i++){ int index = cluster[i]; double gap = data[i] - mean[index]; var[index] += gap*gap; } for (int k=0; k<clusterMax; k++) { var[k] /= (double)dataNum[k]; } //f[^o for (int i=0; i<size; i++) { bw.write(String.format("%d,%f", cluster[i], data[i])); bw.newLine(); } bw.newLine(); //xz\o for (int c=0; c<100; c++) { bw.write(String.format("%d,%d", c*100, counter[c])); bw.newLine(); } bw.newLine(); //p[^o for(int k=0; k<clusterMax; k++) { bw.write(String.format("#Cluster No.%d", k)); bw.newLine(); bw.write(String.format("weight: %f", phi[k])); bw.newLine(); bw.write(String.format("mean: %f", mean[k])); bw.newLine(); bw.write(String.format("variance: %f", var[k])); bw.newLine(); bw.newLine(); } bw.close(); osw.close(); } } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } }
dca775df-1c16-47a4-a33c-26513e5f9017
@Override public void resume() { // TODO Auto-generated method stub }
35fd5d86-7261-4411-8a34-459c629c556a
public void setCustomDate51(java.util.Calendar customDate51) { this.customDate51 = customDate51; }
13862310-821a-4f46-aef2-72d8ca0de675
public void setFundStatus(crmondemand.xml.customobject6.query.QueryType fundStatus) { this.fundStatus = fundStatus; }
8a2939b7-1e36-4812-9f6b-96d0fbe54a45
public crmondemand.xml.customobject3.query.QueryType getCustomDate49() { return this.customDate49; }
2a4cc385-b23d-4f88-857c-7e26836b4eef
protected void debug(String msg) { Main.debug("[Function]", msg); }
cd0aea20-862a-475e-8235-6a7ce4d03661
public LessThan createLessThan() { LessThan less = new LessThan(); less.setUniqueID(getID()); return less; }
a49b2fd3-6079-4188-b734-a92788c6978e
public void setCustomPhone7(java.lang.String customPhone7) { this.customPhone7 = customPhone7; }
222e7d6b-0440-4361-9e13-3dc7d5c38890
public void handler() { long src = m68ki_read_8(EA_PCIX()); long dst = get_DX(); long res = MASK_OUT_ABOVE_8(dst - src); m68k_cpu.n_flag = GET_MSB_8(res); m68k_cpu.not_z_flag = res; m68k_cpu.v_flag = VFLAG_SUB_8(src, dst, res); m68k_cpu.c_flag = CFLAG_SUB_8(src, dst, res); USE_CLKS(4 + 10); if (m68klog != null) { fprintf(m68klog, "cmp_pcix_8 :PC:%d,PPC:%d,mode:%d,dr0:%d,dr1:%d,dr2:%d,dr3:%d,dr4:%d,dr5:%d,dr6:%d,dr7:%d,ar0:%d,ar1:%d,ar2:%d,ar3:%d,ar4:%d,ar5:%d,ar6:%d,ar7:%d,sp0:%d,sp1:%d,sp2:%d,sp3:%d,vbr:%d,sfc:%d,dfc:%d,cacr:%d,caar:%d,ir:%d,t1:%d,t0:%d,s:%d,m:%d,x:%d,n:%d,nz:%d,v:%d,c:%d,intm:%d,ints:%d,stop:%d,halt:%d,intc:%d,prefa:%d,prefd:%d\n", m68k_cpu.pc, m68k_cpu.ppc, m68k_cpu.mode, m68k_cpu.dr[0], m68k_cpu.dr[1], m68k_cpu.dr[2], m68k_cpu.dr[3], m68k_cpu.dr[4], m68k_cpu.dr[5], m68k_cpu.dr[6], m68k_cpu.dr[7], m68k_cpu.ar[0], m68k_cpu.ar[1], m68k_cpu.ar[2], m68k_cpu.ar[3], m68k_cpu.ar[4], m68k_cpu.ar[5], m68k_cpu.ar[6], m68k_cpu.ar[7], m68k_cpu.sp[0], m68k_cpu.sp[1], m68k_cpu.sp[2], m68k_cpu.sp[3], m68k_cpu.vbr, m68k_cpu.sfc, m68k_cpu.dfc, m68k_cpu.cacr, m68k_cpu.caar, m68k_cpu.ir, m68k_cpu.t1_flag, m68k_cpu.t0_flag, m68k_cpu.s_flag, m68k_cpu.m_flag, m68k_cpu.x_flag, m68k_cpu.n_flag, m68k_cpu.not_z_flag, m68k_cpu.v_flag, m68k_cpu.c_flag, m68k_cpu.int_mask, m68k_cpu.int_state, m68k_cpu.stopped, m68k_cpu.halted, m68k_cpu.int_cycles, m68k_cpu.pref_addr, m68k_cpu.pref_data); } }
50bb0755-00d5-4ee7-a692-01403c576427
public java.lang.String getCustomPhone17() { return this.customPhone17; }
3880f96b-948a-41a5-a1c4-ac58e92a794a
public java.lang.String getCustomText47() { return this.customText47; }
2adbaf95-1d1a-4fb3-a551-762931adbb27
public void setCustomPickList98(crmondemand.xml.contact.query.QueryType customPickList98) { this.customPickList98 = customPickList98; }
ca8f7869-9118-4fc5-bdd5-226f42d7106e
public crmondemand.xml.customobject6.query.QueryType getCustomPickList19() { return this.customPickList19; }
59ff9754-3021-450e-8b29-994024778a72
public void setParentFinancialAccountIntegrationId(crmondemand.xml.contact.query.QueryType parentFinancialAccountIntegrationId) { this.parentFinancialAccountIntegrationId = parentFinancialAccountIntegrationId; }
57e55d74-93fc-44ca-85f1-875a0a06d575
@Override public boolean isTargetFloor() { return abelo > 0; }
453802ff-cdd3-47a6-b81a-bd5829f62db4
public crmondemand.xml.contact.query.QueryType getOwnerId() { return this.ownerId; }
9fa6273a-2371-4b6c-aef5-9d117f038a07
public void setCustomText108(java.lang.String customText108) { this.customText108 = customText108; }
94928506-8671-49a9-96b0-8218cf7f0ecf
public void setCustomInteger34(crmondemand.xml.customobject3.query.QueryType customInteger34) { this.customInteger34 = customInteger34; }
d086e2b5-d7d5-4534-93d8-5906b49abbb3
public void setCustomNumber9(java.math.BigDecimal customNumber9) { this.customNumber9 = customNumber9; }
26268b45-ab1c-4e6e-aedf-aa489bff08a7
@Override public CreateWorldStrategy createWorldStrategy() { return new BetaWorldStrategy(); }
2b217437-260f-4563-9794-215fcfa877b5
public java.lang.String getCustomPickList79() { return this.customPickList79; }
5d5839c6-1c53-45fb-96b6-6f9ddb2b93ca
public void setParentFinancialAccountId(java.lang.String parentFinancialAccountId) { this.parentFinancialAccountId = parentFinancialAccountId; }
f7580fb9-1db8-46f8-ad45-ca05056d9467
public void setCustomText70(java.lang.String customText70) { this.customText70 = customText70; }
2b0da59c-a041-490f-baba-200c10438a6f
public java.lang.String getCreatedByLastName() { return this.createdByLastName; }
fbdf40c9-70e6-4990-a018-082445608afa
public void test_minusSeconds_one() { LocalDateTime t = this.TEST_2007_07_15_12_30_40_987654321.with(LocalTime.MIDNIGHT); LocalDate d = t.getDate().minusDays(1); int hour = 0; int min = 0; int sec = 0; for (int i = 0; i < 3700; i++) { t = t.minusSeconds(1); sec--; if (sec == -1) { min--; sec = 59; if (min == -1) { hour--; min = 59; if (hour == -1) { hour = 23; } } } assertEquals(t.getDate(), d); assertEquals(t.getHour(), hour); assertEquals(t.getMinute(), min); assertEquals(t.getSecond(), sec); } }
98f33499-9d5e-4fa0-a070-9b4d298da7c1
public void setCustomPickList60(crmondemand.xml.opportunity.query.QueryType customPickList60) { this.customPickList60 = customPickList60; }
1ec44a99-9b06-4430-8212-ef16dd37ca3a
public void setExamStatus(crmondemand.xml.customobject3.query.QueryType examStatus) { this.examStatus = examStatus; }
6b57a575-99a5-4092-bb49-246f1f5ab1fa
public void setBusinessAccountOwner(crmondemand.xml.opportunity.query.QueryType businessAccountOwner) { this.businessAccountOwner = businessAccountOwner; }
9c3e0557-53c0-42eb-9bac-f633100b4bd7
public boolean hasError() { return ((bitField0_ & 0x00000002) == 0x00000002); }
de5d4cdb-8f55-4274-90c5-ebc4b309f0c6
public java.lang.String getCustomPickList23() { return this.customPickList23; }
ae030f27-f71f-46d8-ae41-196d367c686d
public void setCustomInteger5(java.lang.Integer customInteger5) { this.customInteger5 = customInteger5; }
791d7d0d-94c2-44a0-9740-dfb6261191d3
public void setContactExternalSystemId(java.lang.String contactExternalSystemId) { this.contactExternalSystemId = contactExternalSystemId; }
581236bd-c1dd-46db-84ae-5f0a7bd3ffcd
FrequencyCompressor(int maxVolume) { this(maxVolume, 3); }
0925f447-95f8-49ae-bccc-8b67fb811f5e
public void setCustomBoolean1(crmondemand.xml.customobject6.query.QueryType customBoolean1) { this.customBoolean1 = customBoolean1; }
cba808d3-69c0-4f81-a934-ab2695f7a308
public void setOutputPath(String p);
170b9362-9e59-48c6-a4e1-d87d2e3dd3f0
public java.lang.String getCustomPickList41() { return this.customPickList41; }
d28dd13b-86eb-4208-9219-928a5a496353
private static void upkeep_Vesuvan_Doppelganger_Keyword() { // TODO: what about enchantments? i dont know how great this solution is final Player player = AllZone.getPhase().getPlayerTurn(); final String keyword = "At the beginning of your upkeep, you may have this creature become a copy of target creature except it doesn't copy that creature's color. If you do, this creature gains this ability."; CardList list = AllZoneUtil.getPlayerCardsInPlay(player); list = list.filter(AllZoneUtil.getKeywordFilter(keyword)); for (final Card c : list) { final SpellAbility ability = new Ability(c, "0") { @Override public void resolve() { final Card[] newTarget = new Card[1]; newTarget[0] = null; final Ability switchTargets = new Ability(c, "0") { public void resolve() { if (newTarget[0] != null) { /* * 1. need to select new card - DONE * 1a. need to create the newly copied card with pic and setinfo * 2. need to add the leaves play command * 3. need to transfer the keyword * 4. need to update the clone origin of new card and old card * 5. remove clone leaves play commands from old * 5a. remove old from play * 6. add new to play */ Card newCopy = AllZone.getCardFactory().getCard(newTarget[0].getName(), player); newCopy.setCurSetCode(newTarget[0].getCurSetCode()); newCopy.setImageFilename(newTarget[0].getImageFilename()); //need to add the leaves play command (2) newCopy.addLeavesPlayCommand(c.getCloneLeavesPlayCommand()); c.removeTrigger(c.getCloneLeavesPlayCommand(), ZCTrigger.LEAVEFIELD); newCopy.setCloneLeavesPlayCommand(c.getCloneLeavesPlayCommand()); newCopy.addExtrinsicKeyword(keyword); newCopy.addColor("U", newCopy, false, true); newCopy.setCloneOrigin(c.getCloneOrigin()); newCopy.getCloneOrigin().setCurrentlyCloningCard(newCopy); c.setCloneOrigin(null); //5 PlayerZone play = AllZone.getZone(c); play.remove(c); play.add(newCopy); } } }; AllZone.getInputControl().setInput(new Input() { private static final long serialVersionUID = 5662272658873063221L; @Override public void showMessage() { AllZone.getDisplay().showMessage(c.getName() + " - Select new target creature. (Click Cancel to remain as is.)"); ButtonUtil.enableOnlyCancel(); } @Override public void selectButtonCancel() { stop(); } @Override public void selectCard(Card selectedCard, PlayerZone z) { if (z.is(Constant.Zone.Battlefield) && selectedCard.isCreature() && CardFactoryUtil.canTarget(c, selectedCard)) { newTarget[0] = selectedCard; StringBuilder sb = new StringBuilder(); sb.append(c.getCloneOrigin()).append(" - switching to copy " + selectedCard.getName() + "."); switchTargets.setStackDescription(sb.toString()); AllZone.getStack().add(switchTargets); stop(); } } }); } }; ability.setDescription("At the beginning of your upkeep, you may have this creature become a copy of target creature except it doesn't copy that creature's color. If you do, this creature gains this ability."); ability.setStackDescription(c.getName() + " - you may have this creature become a copy of target creature."); AllZone.getStack().addSimultaneousStackEntry(ability); }//foreach(Card) }
6219c3d9-46a1-42a5-9567-e773f799cf2e
public crmondemand.xml.contact.query.QueryType getIndexedCurrency0() { return this.indexedCurrency0; }
7bd0856c-ae5b-4fa7-857c-605f9f14f380
public void setCustomText35(crmondemand.xml.opportunity.query.QueryType customText35) { this.customText35 = customText35; }
5a3412e9-3d6f-448b-8f27-c374bd608d4f
public crmondemand.xml.customobject6.query.QueryType getCustomDate16() { return this.customDate16; }
59d4d8ae-5330-468e-910e-0254a4b605fb
public crmondemand.xml.opportunity.query.QueryType getExamType() { return this.examType; }
5e5b8a94-97d5-46f6-976e-f96bbd2b5fc6
public void setCustomObject8IntegrationId(java.lang.String customObject8IntegrationId) { this.customObject8IntegrationId = customObject8IntegrationId; }
1998c388-dd57-4dec-9350-40f6e6ba841e
public Color getColor(String id) { Color color = Color.BLACK; for(int i=0;i<identity.size();i++) { if(identity.get(i).equals(id)) { color = colors.get(i)[0]; } } return color; }
dd1f7978-7a5c-4995-93e9-a4b87ffcde08
public void setCustomText13(crmondemand.xml.customobject3.query.QueryType customText13) { this.customText13 = customText13; }
26f4b3d7-8b3e-4662-a404-0410827feb87
public void setCustomText1(java.lang.String customText1) { this.customText1 = customText1; }
c8fd8c5b-b5f1-4c35-aa0f-3e9407e1cda3
public void setCustomNumber21(java.math.BigDecimal customNumber21) { this.customNumber21 = customNumber21; }
de32cb9d-e375-4e6f-93a5-a21a0d9df4b1
public void setCustomBoolean2(java.lang.Boolean customBoolean2) { this.customBoolean2 = customBoolean2; }
70e333ab-5309-4882-9434-4c0beecd3d38
public java.util.Calendar getCustomDate15() { return this.customDate15; }
c9fa5dde-b600-4181-9268-c6b18e32adb4
public crmondemand.xml.contact.query.QueryType getOpportunityType() { return this.opportunityType; }
9f2a4325-e912-4df4-81a6-6e0d582ce94a
public void setCustomObject4Name(crmondemand.xml.customobject3.query.QueryType customObject4Name) { this.customObject4Name = customObject4Name; }
e89401b8-8106-4fe2-810b-01d6a2b4b544
public void setCustomText72(java.lang.String customText72) { this.customText72 = customText72; }
31c5a3db-ab6d-4f8e-8f3d-4ee3bc26c58f
* @throws ConfigurationChangeException Falls der Objekt-Typ nicht importiert werden konnte. */ private void handleSystemObjectType(ImportObject importObject) throws ConfigurationChangeException { final SystemObjectTypeProperties property = (SystemObjectTypeProperties)importObject.getProperties(); try { // prüfen, ob die Pid des Objekt-Typen bereits eingetragen wurde, wenn ja, dann wurde eine Schleife erkannt, d.h. eine fehlerhafte Versorgung in // der Versorgungsdatei if(_objectTypesToCreate.contains(property.getPid())) { final String errorMessage = "Es gibt einen Fehler in der Versorgungsdatei. Zwei Objekt-Typen referenzieren sich gegenseitig."; _debug.error(errorMessage); throw new IllegalStateException(errorMessage); } // Pid des Objekt-Typen wird eingetragen _objectTypesToCreate.add(property.getPid()); // Liste der erweiterten Typen (SuperTypen) final List<SystemObjectType> superTypes = new ArrayList<SystemObjectType>(); // speichert, ob es sich um einen dynamischen oder einen konfigurierenden Typen handelt boolean isDynamicType = false; // ist dies ein Basis-Typ? if(property.getExtendedPids().length == 0) { if(property.getConfiguring()) { // ein konfigurierender Basis-Typ (typ.typ) isDynamicType = false; } else { // ein dynamischer Basis-Typ (typ.dynamischerTyp) isDynamicType = true; } } else { // es ist kein BasisTyp -> herausbekommen, was für ein Typ es ist // Liste der erweiterten Typen wird erstellt superTypes.addAll(createSuperTypes(property.getExtendedPids())); isDynamicType = isDynamicType(superTypes); } // Typ des Typs bestimmen (typ.typ oder typ.dynamischerTyp) final SystemObjectType type; if(isDynamicType) { type = _dataModel.getType(Pid.Type.DYNAMIC_TYPE); } else { type = _dataModel.getType(Pid.Type.TYPE); } SystemObjectType systemObjectType = (SystemObjectType)importObject.getSystemObject(); if(systemObjectType != null) { // falls der Typ des bestehenden Typs nicht mit dem neuen Typ der Properties übereinstimmt, muss ein neuer Objekt-Typ erstellt werden if(type != systemObjectType.getType()) { _debug.finer( "Der Typ des Typs " + systemObjectType.getPid() + " hat sich geänder von " + systemObjectType.getType().getPid() + " zu " + type.getPid() ); // handelt es sich um ein in Bearbeitung erstellter Typ, dann muss es aus der EditingObjects-Map entfernt werden. final Collection<CheckedObject> objects = _editingObjects.get(importObject.getConfigurationArea()); for(CheckedObject object : objects) { if(object.getSystemObject() == (SystemObject)systemObjectType) { objects.remove(object); break; } } // Typ muss jetzt schon auf ungültig gesetzt werden, damit ein neuer Typ mit gleicher Pid erstellt werden kann // in Bearbeitung erstellte Objekte werden direkt gelöscht. ((ConfigSystemObject)systemObjectType).simpleInvalidation(); systemObjectType = null; _dissolveReference = true; } else { setSystemObjectKeeping(systemObjectType); } } if(systemObjectType == null) { // Neuer Objekt-Typ wird angelegt. systemObjectType = (SystemObjectType)importObject.getConfigurationArea().createConfigurationObject( (ConfigurationObjectType)type, property.getPid(), property.getName(), null ); _debug.finer("Ein Objekt-Typ mit der Pid '" + property.getPid() + "' wurde erstellt."); } // Namen überprüfen if(_objectDiffs.isNameDifferent(property.getName(), systemObjectType.getName())) { systemObjectType.setName(property.getName()); } // Info überprüfen if(_objectDiffs.isInfoDifferent(property.getInfo(), systemObjectType.getInfo())) { setInfo(systemObjectType, property.getInfo()); } // Eigenschaften überprüfen // if(systemObjectType.getConfigurationData(_dataModel.getAttributeGroup("atg.typEigenschaften")) == null if(getConfigurationData(systemObjectType, _dataModel.getAttributeGroup("atg.typEigenschaften")) == null || _objectDiffs.isSystemObjectTypePropertiesDifferent(property, systemObjectType)) { setSystemObjectTypeProperties(systemObjectType, !isDynamicType, property.getObjectNamesPermanent()); } // Die Menge der SuperTypen erstellen handleSystemObjectTypeSuperTypes(importObject.getConfigurationArea(), systemObjectType, superTypes); // bei dynamischen Objekt-Typen wird der Persistenz-Modus gespeichert if(isDynamicType) { DynamicObjectType.PersistenceMode persistenceMode; switch(property.getPersistenceMode()) { case TRANSIENT_OBJECTS: persistenceMode = DynamicObjectType.PersistenceMode.TRANSIENT_OBJECTS; break; case PERSISTENT_OBJECTS: persistenceMode = DynamicObjectType.PersistenceMode.PERSISTENT_OBJECTS; break; case PERSISTENT_AND_INVALID_ON_RESTART: persistenceMode = DynamicObjectType.PersistenceMode.PERSISTENT_AND_INVALID_ON_RESTART; break; default: persistenceMode = getSuperTypePersistenceMode(superTypes); } final DynamicObjectType dynamicObjectType = (DynamicObjectType)systemObjectType; if(getConfigurationData(dynamicObjectType, _dataModel.getAttributeGroup("atg.dynamischerTypEigenschaften")) == null || persistenceMode != dynamicObjectType.getPersistenceMode()) { setDynamicObjectTypePersistenceMode(dynamicObjectType, persistenceMode); } } // nach der Erstellung des Objekt-Typs wird die Pid wieder aus der Liste entfernt _objectTypesToCreate.remove(property.getPid()); importObject.setSystemObject(systemObjectType); } catch(ConfigurationChangeException ex) { final String errorMessage = "Der Objekt-Typ '" + property.getPid() + "' konnte nicht korrekt erstellt werden"; _debug.error(errorMessage); throw new ConfigurationChangeException(errorMessage, ex); } }
81d35497-ddbe-4ec4-8c8c-46c9b639df09
public crmondemand.xml.customobject6.query.QueryType getCustomInteger13() { return this.customInteger13; }
d6e86ec4-c30a-4a82-891d-0cca5c848d2e
public void setCustomBoolean34(crmondemand.xml.contact.query.QueryType customBoolean34) { this.customBoolean34 = customBoolean34; }
df503b6a-e493-4b60-bac4-248d4b272952
public void setCustomPickList70(crmondemand.xml.contact.query.QueryType customPickList70) { this.customPickList70 = customPickList70; }
8ddbece7-835b-4dcb-87e1-faac22f3e145
@Override protected List<DateTimeAccessor> samples() { DateTimeAccessor[] array = { this.TEST_2007_07_15, LocalDate.MAX_DATE, LocalDate.MIN_DATE, }; return Arrays.asList(array); }
69d0c1c5-54f5-4491-a54d-c79dd4baa9ca
public java.lang.String getCustomPickList98() { return this.customPickList98; }
ef7a83a6-2fa3-4f3b-84ff-df8b56d3460e
public java.lang.String getCustomPickList12() { return this.customPickList12; }
4407a0f2-ac16-42be-85e1-b4916e18fd23
public int getSpanCount() { return span_.size(); }
5c1ca007-b11c-4972-8b0b-b2b65166b5e8
public void setZCustomBoolean12(crmondemand.xml.customobject6.query.QueryType zCustomBoolean12) { this.zCustomBoolean12 = zCustomBoolean12; }
d0db183c-6025-4d66-b9ca-23a8721b652c
public crmondemand.xml.contact.query.QueryType getCustomInteger29() { return this.customInteger29; }
526af30f-3f27-4616-85e9-a33a4ae4fb51
public void setCustomNumber12(crmondemand.xml.opportunity.query.QueryType customNumber12) { this.customNumber12 = customNumber12; }
a0be3662-9c1e-409f-a989-72a335a5c0a9
public java.lang.String getCustomText48() { return this.customText48; }
9d375ac7-80f2-4055-81a2-de4feb420187
@Override public String getGenMobStat(MOB M, String code) { int codeNum = getGenMobCodeNum(code); if(codeNum < 0) return ""; switch(GenMOBCode.values()[codeNum]) { case CLASS: return CMClass.classID(M); // class case RACE: return M.baseCharStats().getMyRace().ID(); // race case LEVEL: return "" + M.basePhyStats().level(); // level case ABILITY: return "" + M.basePhyStats().ability(); // ability case NAME: return M.Name(); // name case DISPLAY: return M.displayText(); // display case DESCRIPTION: return M.description(); // description case MONEY: { final String money = "" + CMLib.beanCounter().getMoney(M); // money // CMLib.beanCounter().clearZeroMoney(M,null); WHY THE HECK WAS THIS // EVER HERE?!?! return money; } case ALIGNMENT: return "" + M.fetchFaction(CMLib.factions().AlignID()); // alignment case DISPOSITION: return "" + M.basePhyStats().disposition(); // disposition case SENSES: return "" + M.basePhyStats().sensesMask(); // senses case ARMOR: return "" + M.basePhyStats().armor(); // armor case DAMAGE: return "" + M.basePhyStats().damage(); // damage case ATTACK: return "" + M.basePhyStats().attackAdjustment(); // attack case SPEED: return "" + M.basePhyStats().speed(); // speed case AFFBEHAV: return getExtraEnvPropertiesStr(M); // affbehav case ABLES: return getGenMobAbilities(M); // ables case INVENTORY: { final StringBuilder str = new StringBuilder(getGenMobInventory(M)); // inventory int x = str.indexOf("<IID>"); while (x > 0) { final int y = str.indexOf("</IID>", x); if (y > x) str.delete(x, y + 6); else break; x = str.indexOf("<IID>"); } x = str.indexOf("<ILOC>"); while (x > 0) { final int y = str.indexOf("</ILOC>", x); if (y > x) str.delete(x, y + 7); else break; x = str.indexOf("<ILOC>"); } return str.toString(); } case TATTS: { final StringBuilder str = new StringBuilder(""); // tatts for (final Enumeration<Tattoo> e = M.tattoos(); e.hasMoreElements();) str.append(e.nextElement().toString() + ";"); return str.toString(); } case EXPS: { final StringBuilder str = new StringBuilder(""); // exps for (final Enumeration<String> x = M.expertises(); x.hasMoreElements();) str.append(x.nextElement()).append(';'); return str.toString(); } case IMG: return M.rawImage(); // img case FACTIONS: return M.getFactionListing(); // factions case VARMONEY: return "" + M.getMoneyVariation(); // varmoney // case 23: return getGenScripts(M,false); } return ""; }
8159a1a1-18b2-4707-aa2f-08aa370cc13a
public crmondemand.xml.opportunity.query.QueryType getIndexedPick4() { return this.indexedPick4; }
b05914e9-19e2-4a48-9d6c-49452c24b877
public java.util.Calendar getCustomDate5() { return this.customDate5; }
37285536-5ddf-41cc-a8af-2a01d9f8f39b
public void setCustomCurrency19(java.math.BigDecimal customCurrency19) { this.customCurrency19 = customCurrency19; }
bc287a97-01b0-4cbd-9f60-36c6965b94ad
public void setCustomPickList83(java.lang.String customPickList83) { this.customPickList83 = customPickList83; }
a463dfd8-1e4c-49b5-9557-2ece78c4e46f
public void moveNoTurn(Point start, Point end) { setTurn(board.getPieceColor(start)); boolean canMove = board.move(start, end); if (canMove) { int sx = start.getRow(); int sy = start.getCol(); int ex = end.getRow(); int ey = end.getCol(); hideChecker(ex, ey); if (board.getPieceColor(end) == 1) { viewChecker(ex, ey, whitePieceImage); } else { viewChecker(ex, ey, blackPieceImage); } hideChecker(sx, sy); if (board.isGameOver()) { int winner = board.getWinner().getColor(); String winnerName = "White"; if (winner == 2) { winnerName = "Black"; } JOptionPane.showMessageDialog(null, winnerName + " won!", "Game Over", JOptionPane.INFORMATION_MESSAGE); ourGUI.startNewGame(); } } setTurn(-1); }
45d0cbe4-cdb2-47f4-a400-d1a60b85ec30
public java.lang.String getCustomObject3Name() { return this.customObject3Name; }
78b9fa2d-2d69-488f-aede-321da3efd8c6
public java.lang.Integer getCustomInteger6() { return this.customInteger6; }
59f21029-7b14-454c-9caa-b119709aa8d3
public void setCustomText89(java.lang.String customText89) { this.customText89 = customText89; }
95a279bd-ea34-4976-b9b5-bd2374eb4f36
public java.math.BigDecimal getCustomNumber53() { return this.customNumber53; }