id
stringlengths
36
36
text
stringlengths
1
1.25M
fd1632d2-ffee-45cf-9b4e-80561fd6ce28
public crmondemand.xml.contact.query.QueryType getCustomObject14Type() { return this.customObject14Type; }
886654b9-959d-4404-8645-7972af5ef9a6
public void setCustomNumber6(java.math.BigDecimal customNumber6) { this.customNumber6 = customNumber6; }
8429909b-d978-4c84-85cb-d54890fb5412
public crmondemand.xml.contact.query.QueryType getCustomPickList54() { return this.customPickList54; }
7a4b751a-cb1d-4a56-a80b-7e95541312e5
public void setAssetSerialNumber(java.lang.String assetSerialNumber) { this.assetSerialNumber = assetSerialNumber; }
282f51cb-c288-44b7-b374-94699ebd5a03
public crmondemand.xml.customobject6.query.QueryType getQuickSearch2() { return this.quickSearch2; }
92550097-9951-4fcb-bd8c-519dbb8fd1d5
public crmondemand.xml.customobject3.query.QueryType getCustomDate22() { return this.customDate22; }
85f27d5e-2b4b-426a-84ee-9a61e5b6bd32
public void setCustomBoolean7(crmondemand.xml.customobject3.query.QueryType customBoolean7) { this.customBoolean7 = customBoolean7; }
2be5bb3d-cbd3-466e-bb43-10fea177eac7
public java.lang.String getCustomText50() { return this.customText50; }
c7e449ab-24ba-4aec-b610-e29e71b8b1c1
public void setCustomNumber22(java.math.BigDecimal customNumber22) { this.customNumber22 = customNumber22; }
2617dde7-4128-405c-b2d8-f6e15c3b04ec
public crmondemand.xml.customobject6.query.QueryType getCustomObject3Name() { return this.customObject3Name; }
1986d69b-c4e4-4c45-8884-b58d6a7fdedb
public crmondemand.xml.customobject6.query.QueryType getAttachFileSizeDisp() { return this.attachFileSizeDisp; }
6c2bbc9c-0d79-4be0-af43-d2991db97e5a
public void setCustomInteger1(crmondemand.xml.opportunity.query.QueryType customInteger1) { this.customInteger1 = customInteger1; }
42a8c63c-8139-40cd-876c-974ef270b8b0
@Override public void turnCameraOff() { // TODO Auto-generated method stub }
6dd2622c-252b-470a-8f57-bbe97c645ad5
public void setCustomDate56(java.util.Calendar customDate56) { this.customDate56 = customDate56; }
0f08e3e8-4d03-41b5-9698-b8a2b0bd5a90
public java.lang.String getCampaignStatus() { return this.campaignStatus; }
da27be3d-1c18-4a9b-a58d-da179e2d9029
public crmondemand.xml.customobject6.query.QueryType getContactIntegrationId() { return this.contactIntegrationId; }
f3c9a5cb-ee47-40bb-b54e-4380bb149ee5
public crmondemand.xml.customobject3.query.QueryType getCustomPhone15() { return this.customPhone15; }
ccfe6a03-97d4-461d-b158-0a3f64aa3c16
public void setCustomObject3ExternalSystemId(java.lang.String customObject3ExternalSystemId) { this.customObject3ExternalSystemId = customObject3ExternalSystemId; }
a842c118-a982-41fa-8ca4-791c331012d8
public crmondemand.xml.contact.query.QueryType getOpportunityExternalSystemId() { return this.opportunityExternalSystemId; }
34b6ca3a-7a99-45f6-941c-ad4113f4e8c6
public void setProductStatus(java.lang.String productStatus) { this.productStatus = productStatus; }
84da4973-bbef-4fa3-9c33-0ee3b05354b4
public java.lang.String getCustomText70() { return this.customText70; }
578bb73b-0e65-453e-8524-0f91d5fca1f4
public void setCustomerAddressCounty(crmondemand.xml.opportunity.query.QueryType customerAddressCounty) { this.customerAddressCounty = customerAddressCounty; }
4ca44d1b-34b4-42fd-a6b3-629dcd05587d
public java.lang.String getProgramPartnerType() { return this.programPartnerType; }
bc053c89-e5c7-4494-9d5c-015f237d1bed
private boolean jj_3_5() { if (jj_3R_29()) return true; return false; }
b238a841-a2f4-41e7-b041-618e0508ea6a
*/ public static Pointer<PyObject > PyByteArray_FromStringAndSize(Pointer<Byte > charPtr1, @Ptr long Py_ssize_t1) { return Pointer.pointerToAddress(PyByteArray_FromStringAndSize(Pointer.getPeer(charPtr1), Py_ssize_t1), PyObject.class); }
b2059304-c03e-4081-ba27-3cb2d9a0151e
public void setFieldValue(_Fields field, Object value) { switch (field) { case KEY: if (value == null) { unsetKey(); } else { setKey((String)value); } break; } }
624baf49-341c-47a6-950a-b9d4f23b8214
public java.util.Calendar getCustomDate7() { return this.customDate7; }
05cfa318-dc6c-4a78-975f-fbd4cbd0fced
public java.math.BigDecimal getCustomCurrency20() { return this.customCurrency20; }
128e204b-f484-4db8-bb81-1c34646a3735
public void setCustomPickList29(java.lang.String customPickList29) { this.customPickList29 = customPickList29; }
b3a8510d-e3e5-44df-b89b-13d666bfaa9a
public java.lang.String getSPRequestId() { return this.sPRequestId; }
b339a570-531a-49fc-8b5e-ca90d95db534
public void setZCustomPickList27(crmondemand.xml.customobject6.query.QueryType zCustomPickList27) { this.zCustomPickList27 = zCustomPickList27; }
c59fbdee-2777-49fd-af82-2bbab1ba6b53
public crmondemand.xml.customobject6.query.QueryType getCustomInteger1() { return this.customInteger1; }
0ab9b911-d8af-4a12-a85e-2f096d4768e5
public void setCustomPickList99(crmondemand.xml.customobject6.query.QueryType customPickList99) { this.customPickList99 = customPickList99; }
02d820a9-36ef-4920-9694-ad44a0a70177
public crmondemand.xml.customobject6.query.QueryType getCreatedDate() { return this.createdDate; }
96f9babf-b7e0-4d5c-b0b8-ba0289e86702
public void setCustomPhone18(java.lang.String customPhone18) { this.customPhone18 = customPhone18; }
b1016eb0-56a5-4c05-9367-c8ca3bbae219
public crmondemand.xml.contact.query.QueryType getOwnerEMailAddr() { return this.ownerEMailAddr; }
df6da392-f495-43bf-ad27-bd6fea1adfa7
public void setCustomDate59(java.util.Calendar customDate59) { this.customDate59 = customDate59; }
3a2ee138-ec4d-4e10-94ae-678ced94f436
public void setCustomPickList49(java.lang.String customPickList49) { this.customPickList49 = customPickList49; }
3390cc83-8fb0-4eb3-9a22-756d5beb644a
public crmondemand.xml.customobject6.query.QueryType getCustomDate46() { return this.customDate46; }
329043e1-76f7-4427-a643-c18c2729f631
public crmondemand.xml.opportunity.query.QueryType getCustomDate29() { return this.customDate29; }
a232ffcc-7050-4c2c-bfc6-3526d7ee8129
public void waitForLogIn() { proceed.lock(); try { if(!isLoggedIn) loginCompleted.await(); } catch (InterruptedException e) { System.err.println("Thread interrupted"); } finally { proceed.unlock(); } }
f860fbee-4433-40e5-b145-69c17bb735df
public crmondemand.xml.opportunity.query.QueryType getCustomText12() { return this.customText12; }
2b7db463-c4d6-4a3a-9bfa-bcf1f6603ed7
public void setIndexedCurrency0(java.math.BigDecimal indexedCurrency0) { this.indexedCurrency0 = indexedCurrency0; }
d3384ef4-ddd9-4625-acea-4f25e7ed12ad
public TerminalNode ENUM() { return getToken(JavaParser.ENUM, 0); }
a8ee8f0c-90e6-4d1b-82ff-f40fcba1a43f
public crmondemand.xml.customobject6.query.QueryType getCustomDate55() { return this.customDate55; }
a1e06f6c-398c-4f88-bb46-b0afecda3c29
public static Cons clYieldMethodTypeDeclarationTree(MethodSlot method) { if (!(method.methodFunctionP)) { return (null); } { Stella_Object cltype = StandardObject.lookupClTypeFromStellaType(method.slotBaseType); if (cltype != null) { return (((Cons)(Stella_Object.clConditionalizeTypeDeclarationTree(Cons.list$(Cons.cons(Stella.internCommonLispSymbol("FTYPE"), Cons.cons(Cons.list$(Cons.cons(Stella.internCommonLispSymbol("FUNCTION"), Cons.cons(MethodSlot.clYieldMethodArglistTypeDeclarations(method), Cons.cons(Cons.cons(MethodSlot.clYieldMethodReturnTypeDeclaration(method), Stella.NIL), Stella.NIL)))), Cons.cons(Symbol.clTranslateGlobalSymbol(Symbol.yieldRenamedNameIfNative(method.slotName, Stella.KWD_COMMON_LISP, Stella.KWD_FUNCTION)), Cons.cons(Stella.NIL, Stella.NIL))))))))); } else { return (null); } } }
27b4fe67-173f-4f32-b058-6b86bd4ef4ea
public java.lang.Integer getCustomInteger11() { return this.customInteger11; }
b48f7bb4-77d6-495f-8610-99908e1ab823
public java.math.BigDecimal getCustomNumber51() { return this.customNumber51; }
7bc94440-b9f0-42db-b681-527bf0c6ffbc
public void setCustomCurrency12(crmondemand.xml.customobject6.query.QueryType customCurrency12) { this.customCurrency12 = customCurrency12; }
22d9213c-0a5f-4ed5-b803-e4302e4a7a89
private synchronized void updatePlayer() { if(player.getEntity(0).getX() < 32) {player.getEntity(0).setX(32);} if(player.getEntity(0).getX() > 720) {player.getEntity(0).setX(720);} drawPlayer(); }
13247c48-e298-4793-8e30-145ba23916cc
public java.lang.String getInvoiceNumber() { return this.invoiceNumber; }
dc245ac1-a0ad-4326-8712-b4633de1ea49
public void setCustomInteger23(crmondemand.xml.customobject6.query.QueryType customInteger23) { this.customInteger23 = customInteger23; }
c428d31a-2fc4-431a-b2f6-635ef43edd65
public void setCustomNumber60(crmondemand.xml.customobject6.query.QueryType customNumber60) { this.customNumber60 = customNumber60; }
fc949d78-9455-4d2a-950d-a239bf1c1506
public void setCustomBoolean29(crmondemand.xml.contact.query.QueryType customBoolean29) { this.customBoolean29 = customBoolean29; }
68056861-0d41-424f-90e0-c705b2a3d691
public void setCustomPhone6(crmondemand.xml.customobject6.query.QueryType customPhone6) { this.customPhone6 = customPhone6; }
aefb595e-5872-4837-87ce-ea4e8413116e
public void stop() { stopped = true; }
5290c9ef-71f2-4dae-91da-aef861126d19
public java.lang.String getCustomObject10ExternalSystemId() { return this.customObject10ExternalSystemId; }
5fc2902e-c86c-4937-aba0-095c1c922603
final AbstractRasterizer method3634(Interface3$ interface3, Interface13 interface13) { return new BufferedRasterizer(this, (RasterToolkit) interface3, (Class216) interface13); }
ba47cda4-3ebb-40f9-b946-6de74f3ff3dd
*/ public void line_stipple (int factor, int pattern) { RequestOutputStream o = display.out; synchronized (o) { begin_render_request (o, 94, 12); o.write_int32 (factor); o.write_int16 (pattern); o.write_pad (2); } }
264dbf2a-d9f9-418b-8d2d-a45e80627f64
@Override public void actionPerformed(ActionEvent arg0) { // TODO Auto-generated method stub if (type == 0) { p.move(p.getX(), p.getY()); } repaint(); }
7a503f7c-2ae9-4622-8a12-bf8144667931
public crmondemand.xml.customobject3.query.QueryType getOpportunityCloseDate() { return this.opportunityCloseDate; }
a3443d69-2a29-4aa6-98c4-fa2ab7c39448
public crmondemand.xml.customobject6.query.QueryType getCustomObject6ExternalSystemId() { return this.customObject6ExternalSystemId; }
82278c4a-33ab-4a72-b9bc-9e7a6261ad8d
public void setCustomDate23(java.util.Calendar customDate23) { this.customDate23 = customDate23; }
d668ca53-9a9b-4a18-9e3f-bccb9b702e87
public void setInvtPeriodEndDate(crmondemand.xml.customobject3.query.QueryType invtPeriodEndDate) { this.invtPeriodEndDate = invtPeriodEndDate; }
c525b220-2382-4372-a8a4-6489ff490b36
public void setDateWithdrawn(crmondemand.xml.contact.query.QueryType dateWithdrawn) { this.dateWithdrawn = dateWithdrawn; }
22f2ac61-0ad1-4f01-bee6-865075d5bf01
public void setCustomDate3(java.util.Calendar customDate3) { this.customDate3 = customDate3; }
f642f371-4277-4ded-a72f-864afaa6b594
public java.lang.String getModel() { return this.model; }
5dc6ad33-9e7e-48c6-b325-cd3f63492f56
public PlayerBall(double x, double y, double direction, int MAX_X, int MAX_Y, int BALL_SIZE, Color color) { super(x, y, direction, 0, MAX_X, MAX_Y, BALL_SIZE, color); // TODO Auto-generated constructor stub }
571b4eeb-3e35-4e09-ac95-5b7b7e77a397
public java.lang.String getCustomText33() { return this.customText33; }
f9cae982-66c4-455c-ae35-0d485fd524b4
public void test_toEpochDay() { long date_0000_01_01 = -678941 - 40587; LocalDate test = LocalDate.of(0, 1, 1); for (long i = date_0000_01_01; i < 700000; i++) { assertEquals(test.toEpochDay(), i); test = next(test); } test = LocalDate.of(0, 1, 1); for (long i = date_0000_01_01; i > -2000000; i--) { assertEquals(test.toEpochDay(), i); test = previous(test); } assertEquals(LocalDate.of(1858, 11, 17).toEpochDay(), -40587); assertEquals(LocalDate.of(1, 1, 1).toEpochDay(), -678575 - 40587); assertEquals(LocalDate.of(1995, 9, 27).toEpochDay(), 49987 - 40587); assertEquals(LocalDate.of(1970, 1, 1).toEpochDay(), 0); assertEquals(LocalDate.of(-1, 12, 31).toEpochDay(), -678942 - 40587); } // ----------------------------------------------------------------------- // compareTo() // ----------------------------------------------------------------------- @Test(groups = { "tck" }
8d29db48-0f15-4cbb-98a7-19a378db5f04
public crmondemand.xml.customobject3.query.QueryType getCustomNumber12() { return this.customNumber12; }
d92c3ac3-9f6b-43ef-a7f9-717b2ca540fc
public void setCustomDate31(java.util.Calendar customDate31) { this.customDate31 = customDate31; }
c6dad8fa-b09c-46d0-bdac-4db09254bd25
public static int pixelToTile(double pixel) { return (int) (pixel / TILE_SIZE); }
af6ec6e3-e248-4eb2-bfd1-e6691971e5b4
public abstract void sayGoodbye();
da127cf5-5383-4188-b491-977b2a1ae747
public java.lang.String getCustomText63() { return this.customText63; }
ff7164b0-5131-4c04-aa09-536b358ad4f3
public void setCustomObject12Id(java.lang.String customObject12Id) { this.customObject12Id = customObject12Id; }
0ae9a673-751c-460b-967d-dda62c27df23
public void setCustomNumber41(java.math.BigDecimal customNumber41) { this.customNumber41 = customNumber41; }
897bf942-1d98-40ad-b4f3-86da04370bad
public void setCustomDate56(java.util.Calendar customDate56) { this.customDate56 = customDate56; }
0e2fadf6-bd96-49b5-9941-d8ce08599e62
public crmondemand.xml.contact.query.QueryType getCustomDate8() { return this.customDate8; }
ebc60b6c-e868-49b0-8571-06e457e1d581
public void setCustomBoolean3(crmondemand.xml.customobject6.query.QueryType customBoolean3) { this.customBoolean3 = customBoolean3; }
734b261b-e013-444e-ba43-d8185038c44e
public crmondemand.xml.opportunity.query.QueryType getCustomText70() { return this.customText70; }
c71e9dd6-8b5c-4b93-a374-27b9b42c6cc9
public void setComboBox(JComboBox comboBox) { this.comboBox = comboBox; }
8299f296-86f1-4710-ac39-9d310faf8509
public crmondemand.xml.opportunity.query.QueryType getCustomNumber52() { return this.customNumber52; }
0700a4f5-8563-4153-9a93-2df395a3abcb
public void setCertficationStatus(crmondemand.xml.customobject6.query.QueryType certficationStatus) { this.certficationStatus = certficationStatus; }
08b132e3-c065-4d83-a70d-20a31f503908
public static void htmlDescribeSubs(String title, String head, NamedDescription relation, org.powerloom.PrintableStringWriter stream, boolean ruleP) { { int heuristicdepth = 4; int sublength = edu.isi.powerloom.PLI.getDirectSubrelations(relation, null, null).length(); if (sublength > 30) { heuristicdepth = heuristicdepth - 1; } OntosaurusUtil.htmlWriteHeaderWithTable(stream, title, head); if (sublength == 0) { { stream.print("<I>"); stream.print("None"); stream.println("</I>"); } } else { OntosaurusUtil.htmlDescribeOneSubLevel(relation, 0, heuristicdepth, stream); } if (ruleP) { stream.println("<HR SIZE=2>"); } return; } }
4988ae9f-6541-4d11-a51f-a79d120fb4e0
public crmondemand.xml.customobject3.query.QueryType getCustomText71() { return this.customText71; }
718af5a7-67bb-4ffb-9ba6-af24f60f7ea2
public void setCustomDate54(java.util.Calendar customDate54) { this.customDate54 = customDate54; }
d00be456-86eb-4a5a-b367-d7b6011da7b4
public crmondemand.xml.customobject6.query.QueryType getCustomObject15Type() { return this.customObject15Type; }
013bdcb0-6530-4e08-a489-01c5f10dc7f5
public void setCustomPickList76(java.lang.String customPickList76) { this.customPickList76 = customPickList76; }
e14ffc58-d0dd-4287-9202-d472d4a7f666
public crmondemand.xml.contact.query.QueryType getCustomText36() { return this.customText36; }
41219548-ebe0-408e-8c67-bb6726f825f4
public java.math.BigDecimal getCustomNumber6() { return this.customNumber6; }
72125923-3ebf-4095-8970-d7b480f2bcf0
private void initBtnPanel() { JPanel btnsPanel = new JPanel(); getContentPane().add(btnsPanel, BorderLayout.SOUTH); btnsPanel.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5)); btnOk = new JButton(Messages.getString("Btn.OK")); btnOk.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { JDialogReadDouble.getInstance().dispose(); } }); btnsPanel.add(btnOk); btnCancelar = new JButton(Messages.getString("Btn.CANCEL")); btnCancelar.addActionListener(new ActionListener(){ public void actionPerformed(ActionEvent e) { JDialogReadDouble.getInstance().dispose(); } }); btnsPanel.add(btnCancelar); }
949541c2-7fe2-4a78-a72b-e8d7949d24f9
public java.lang.String getCustomPickList28() { return this.customPickList28; }
58f9cd51-132b-489b-a474-548fc7b6ecf0
public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // quest name if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a quest name!"); } for (int i = 0; i < ((String) str).length(); i++) { if ((!Character.isLetterOrDigit(((String) str).charAt(i))) && (((String) str).charAt(i) != '_')) throw new CMException("Quest names may only contain letters, digits, or _ -- no spaces or special characters."); } if (CMLib.quests().fetchQuest(((String) str).trim()) != null) throw new CMException("A quest of that name already exists. Enter another."); return ((String) str).trim(); } }; case $CHOOSE: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // choose if ((choices == null) || (choices.length == 0)) throw new CMException("NO choices?!"); if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a value!"); } final int x = CMParms.indexOf(choices, ((String) str).toUpperCase().trim()); if (x < 0) throw new CMException("That is not a valid option. Choices include: " + CMParms.toListString(choices)); return choices[x]; } }; case $ITEMXML: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // itemxml if ((choices == null) || (choices.length == 0)) throw new CMException("NO choices?!"); if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); StringBuffer choiceNames = new StringBuffer(""); for (final Object choice : choices) choiceNames.append(((Environmental) choice).Name() + ", "); if (choiceNames.toString().endsWith(", ")) choiceNames = new StringBuffer(choiceNames.substring(0, choiceNames.length() - 2)); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter one of the following: " + choiceNames.toString()); } final Environmental[] ES = new Environmental[choices.length]; for (int e = 0; e < choices.length; e++) ES[e] = (Environmental) choices[e]; final Environmental E = CMLib.english().fetchEnvironmental(Arrays.asList(ES), (String) str, false); if (E == null) throw new CMException("'" + str + "' was not found. You must enter one of the following: " + choiceNames.toString()); return CMLib.english().getContextName(ES, E); } }; case $STRING: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // string if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a value!"); } return str; } }; case $ROOMID: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // roomid if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an room id(s), name(s), keyword ANY, or ANY MASK=..."); } if (((String) str).trim().equalsIgnoreCase("ANY")) return ((String) str).trim(); if (((String) str).trim().toUpperCase().startsWith("ANY MASK=")) return str; if (CMStrings.contains(Quest.ROOM_REFERENCE_QCODES, ((String) str).toUpperCase().trim())) return ((String) str).toUpperCase().trim(); if ((((String) str).indexOf(' ') > 0) && (((String) str).indexOf('\"') < 0)) throw new CMException( "Multiple-word room names/ids must be grouped with double-quotes. If this represents several names, put each name in double-quotes as so: \"name1\" \"name2\" \"multi word name\"."); final Vector<String> V = CMParms.parse((String) str); if (V.size() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an room id(s), name(s), keyword ANY, or ANY MASK=..."); } String s = null; for (int v = 0; v < V.size(); v++) { s = V.elementAt(v); boolean found = false; final Room R = CMLib.map().getRoom(s); if (R != null) found = true; if (!found) found = CMLib.map().findWorldRoomLiberally(null, s, "R", 50, 30000) != null; if (!found) throw new CMException("'" + (V.elementAt(v)) + "' is not a valid room name, id, or description."); } return str; } }; case $AREA: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // area if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an area name(s), keyword ANY, or ANY MASK=..."); } if (((String) str).trim().equalsIgnoreCase("ANY")) return ((String) str).trim(); if (((String) str).trim().toUpperCase().startsWith("ANY MASK=")) return str; if ((((String) str).indexOf(' ') > 0) && (((String) str).indexOf('\"') < 0)) throw new CMException( "Multiple-word area names/ids must be grouped with double-quotes. If this represents several names, put each name in double-quotes as so: \"name1\" \"name2\" \"multi word name\"."); final Vector<String> V = CMParms.parse((String) str); if (V.size() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an area name(s), keyword ANY, or ANY MASK=..."); } final StringBuffer returnStr = new StringBuffer(""); for (int v = 0; v < V.size(); v++) { final Area A = CMLib.map().findArea(V.elementAt(v)); if (A == null) throw new CMException("'" + (V.elementAt(v)) + "' is not a valid area name."); returnStr.append("\"" + A.name() + "\" "); } return returnStr.toString().trim(); } }; case $MOBXML: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // mobxml if ((choices == null) || (choices.length == 0)) throw new CMException("NO choices?!"); if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); StringBuffer choiceNames = new StringBuffer(""); for (final Object choice : choices) choiceNames.append(((Environmental) choice).Name() + ", "); if (choiceNames.toString().endsWith(", ")) choiceNames = new StringBuffer(choiceNames.substring(0, choiceNames.length() - 2)); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter one of the following: " + choiceNames.toString()); } final Environmental[] ES = new Environmental[choices.length]; for (int e = 0; e < choices.length; e++) ES[e] = (Environmental) choices[e]; final Environmental E = CMLib.english().fetchEnvironmental(Arrays.asList(ES), (String) str, false); if (E == null) throw new CMException("'" + str + "' was not found. You must enter one of the following: " + choiceNames.toString()); return CMLib.english().getContextName(ES, E); } }; case $NAME: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // designame if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a value!"); } if (((String) str).trim().equalsIgnoreCase("ANY")) return ((String) str).trim(); if (((String) str).trim().toUpperCase().startsWith("ANY MASK=")) return str; if ((((String) str).indexOf(' ') > 0) && (((String) str).indexOf('\"') < 0)) throw new CMException("Multiple-word names must be grouped with double-quotes. If this represents several names, put each name in double-quotes as so: \"name1\" \"name2\" \"multi word name\"."); return str; } }; case $LONG_STRING: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // string if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a value!"); } str = CMStrings.replaceAll((String) str, "\n\r", " "); str = CMStrings.replaceAll((String) str, "\r\n", " "); str = CMStrings.replaceAll((String) str, "\n", " "); str = CMStrings.replaceAll((String) str, "\r", " "); return str; } }; case $MOBXML_ONEORMORE: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // mobxml_1ormore final GenericEditor.CMEval evaler = getQuestCommandEval(QMCommand.$MOBXML); return evaler.eval(str, choices, emptyOK); } }; case $ITEMXML_ONEORMORE: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // itemxml_1ormore final GenericEditor.CMEval evaler = getQuestCommandEval(QMCommand.$ITEMXML); return evaler.eval(str, choices, emptyOK); } }; case $ZAPPERMASK: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // zappermask if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); final Vector<String> errors = new Vector<String>(1); if (!CMLib.masking().syntaxCheck((String) str, errors)) throw new CMException("Mask Error: " + CMParms.toListString(errors)); return str; } }; case $ABILITY: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // ability if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); final StringBuffer list = new StringBuffer(""); for (final Enumeration<Ability> e = CMClass.abilities(); e.hasMoreElements();) list.append(e.nextElement().ID() + ", "); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an ability ID, choose from the following: " + list.toString()); } Ability A = CMClass.getAbility((String) str); if (A == null) A = CMClass.findAbility((String) str); if ((A.classificationCode() & Ability.ALL_DOMAINS) == Ability.DOMAIN_ARCHON) A = null; if (A == null) throw new CMException("Invalid ability id, choose from the following: " + list.toString()); return A.ID(); } }; case $EXISTING_QUEST_NAME: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // existing quest name if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a quest name!"); } final Quest Q = CMLib.quests().fetchQuest(((String) str).trim()); if (Q == null) throw new CMException("A quest of the name '" + ((String) str).trim() + "' does not exist. Enter another."); return Q.name(); } }; case $HIDDEN: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // hidden return str; } }; case $FACTION: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // faction if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter a faction id!"); } final Faction F = CMLib.factions().getFaction((String) str); if (F == null) throw new CMException("A faction of the name '" + ((String) str).trim() + "' does not exist. Enter another."); return F.factionID(); } }; case $TIMEEXPRESSION: return new GenericEditor.CMEval() { @Override public Object eval(Object str, Object[] choices, boolean emptyOK) throws CMException { // timeexpression if (!(str instanceof String)) throw new CMException("Bad type: " + ((str == null) ? "null" : str.getClass().getName())); if (((String) str).trim().length() == 0) { if (emptyOK) return ""; throw new CMException("You must enter an expression!"); } if (!CMLib.time().isTickExpression((String) str)) throw new CMException("Invalid time mathematical expression. Use numbers,+,-,*,/,(), and ? only. You may add ticks, minutes, hours, days, mudhours, muddays, mudweeks, mudmonths, mudyears."); return str; }
f3dfdf86-0738-490a-800d-60e611629e61
public java.lang.String getCustomObject2Type() { return this.customObject2Type; }
508eed21-68cc-48ff-9a13-3498fc0c52a8
public java.lang.String getCustomText37() { return this.customText37; }
a791776b-cd31-4845-8094-c1961b92541c
public void setCustomPhone0(crmondemand.xml.customobject6.query.QueryType customPhone0) { this.customPhone0 = customPhone0; }
2fc5493f-f483-46a1-8ea7-f4d11ea17829
public void setPortfolioExternalSystemId(crmondemand.xml.contact.query.QueryType portfolioExternalSystemId) { this.portfolioExternalSystemId = portfolioExternalSystemId; }
b7d2e28d-496f-41f5-abbe-e8e0c8dc42c8
public void setCustomInteger16(java.lang.Integer customInteger16) { this.customInteger16 = customInteger16; }
c805fe19-db64-449b-b911-df6762c30392
public crmondemand.xml.opportunity.query.QueryType getUpdatedByEMailAddr() { return this.updatedByEMailAddr; }