id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
2312e190-b597-429d-aaad-8b53921e04b9
|
public crmondemand.xml.customobject6.query.QueryType getCustomPhone4() {
return this.customPhone4;
}
|
1a19e7b2-968f-4022-aa13-7b430ae3f7a1
|
public void setContactLastName(crmondemand.xml.customobject3.query.QueryType contactLastName) {
this.contactLastName = contactLastName;
}
|
4c83123c-8454-4177-988f-27bc96eb92f7
|
public crmondemand.xml.customobject6.query.QueryType getIndexedBoolean0() {
return this.indexedBoolean0;
}
|
0e4e4f4f-ccf2-4bfb-9b60-cebc23e617e3
|
public Builder setId(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
id_ = value;
onChanged();
return this;
}
|
ba3c04a0-8cba-4e10-92e3-11582c68a4c2
|
public void renderAgentFromWorld(int i, BufferedImage world,
BufferedImage target) {
Graphics2D graphics = target.createGraphics();
background(graphics, target.getWidth(), target.getHeight());
int x = gridToPixel(lerp(aStats[i].x0, aStats[i].x,
Math.min((float) m_moveCounter * 3, 1f)));
int y = gridToPixel(lerp(aStats[i].y0, aStats[i].y,
Math.min((float) m_moveCounter * 3, 1f)));
int radius = (Constants.AGENT_RANGE * Constants.CELL_DISTANCE) / 2;
graphics.drawImage(world, 0, 0, target.getWidth(), target.getHeight(),
x - radius, y - radius, x + radius, y + radius, null);
// draw the mask
graphics.setColor(Color.BLACK);
float adjustedCellDistance = (int) Math.round((float) target.getWidth()
/ Constants.AGENT_RANGE);
float gridDistance = Constants.AGENT_RANGE / 2;
for (int a = 0; a < Constants.AGENT_RANGE; ++a) {
for (int b = 0; b < Constants.AGENT_RANGE; ++b) {
float distance = Math.abs(gridDistance - a)
+ Math.abs(gridDistance - b);
if (distance > gridDistance) {
graphics.fillRect(a * (int) adjustedCellDistance, b
* (int) adjustedCellDistance,
(int) adjustedCellDistance,
(int) adjustedCellDistance);
}
}
}
}
|
83734349-2d6f-40ce-b0a0-c159b4df603b
|
public crmondemand.xml.customobject3.query.QueryType getCustomNumber20() {
return this.customNumber20;
}
|
8f81b7f3-4b61-4439-ab81-3f9bb29fe13a
|
public void setCustomPhone7(crmondemand.xml.contact.query.QueryType customPhone7) {
this.customPhone7 = customPhone7;
}
|
e673986e-cec1-4c46-a171-aa90268d4f46
|
public crmondemand.xml.contact.query.QueryType getCustomNumber61() {
return this.customNumber61;
}
|
a229c911-d645-4552-b877-1e712b8929c0
|
public void setCustomText17(crmondemand.xml.opportunity.query.QueryType customText17) {
this.customText17 = customText17;
}
|
be0720ce-ebbf-4fee-96ff-6d4714203d87
|
public void setHouseholdSegment(crmondemand.xml.contact.query.QueryType householdSegment) {
this.householdSegment = householdSegment;
}
|
ddf4f6a7-def7-4a71-9a24-a533c39e6c49
|
public void setCreatedByLastName(crmondemand.xml.customobject6.query.QueryType createdByLastName) {
this.createdByLastName = createdByLastName;
}
|
340380c6-d0a6-4f45-9f4b-b47b5fe84bfa
|
public boolean isLight() {
return light;
}
|
ab9997cc-c077-4559-8f34-63ea3b55f860
|
public void setTargetAmount(java.math.BigDecimal targetAmount) {
this.targetAmount = targetAmount;
}
|
7c09753e-1cd1-4cd7-bbb6-1737da186007
|
public java.lang.String getCustomPickList43() {
return this.customPickList43;
}
|
a76b412b-d655-4ef1-87c6-0f8ccfc11d6e
|
public java.math.BigDecimal getCustomNumber41() {
return this.customNumber41;
}
|
c5c36e7c-676d-4355-ac77-de34c1b6009b
|
public java.lang.String getCustomPhone17() {
return this.customPhone17;
}
|
d5b3f250-2906-4161-b2fe-bd46a57a2a03
|
public void setCustomBoolean2(java.lang.Boolean customBoolean2) {
this.customBoolean2 = customBoolean2;
}
|
57d370da-c1da-484e-8e30-04b3fed4369b
|
public crmondemand.xml.customobject6.query.QueryType getCustomText9() {
return this.customText9;
}
|
ede1599b-a6d2-405c-8b6b-e9f893d2c38e
|
public crmondemand.xml.opportunity.query.QueryType getCustomPhone7() {
return this.customPhone7;
}
|
de800fbd-3974-42d8-aa48-22839dd13692
|
public crmondemand.xml.customobject3.query.QueryType getActivityStatus() {
return this.activityStatus;
}
|
89dca05d-baa6-4792-b043-c5c97c0f611d
|
public SpecExecutionStartingRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new SpecExecutionStartingRequest(input, extensionRegistry);
}
|
457f5e39-8367-4d13-b888-87e07abb7506
|
public void setSolutionPCDAttachmentType(crmondemand.xml.opportunity.query.QueryType solutionPCDAttachmentType) {
this.solutionPCDAttachmentType = solutionPCDAttachmentType;
}
|
8dc4d1f8-10df-4ff7-b329-636d9b46fec3
|
public void setCustomNumber50(crmondemand.xml.customobject3.query.QueryType customNumber50) {
this.customNumber50 = customNumber50;
}
|
45811435-897d-442d-a11e-3a0391f0bece
|
public TerminalNode Identifier() { return getToken(Java7Parser.Identifier, 0); }
|
ab900a4c-7a53-4f71-a7a2-7b453b2b378b
|
public void setSampleLotShortDays(crmondemand.xml.opportunity.query.QueryType sampleLotShortDays) {
this.sampleLotShortDays = sampleLotShortDays;
}
|
877d9cdd-5d6a-40eb-8caa-0928446db20a
|
public void setCustomText46(java.lang.String customText46) {
this.customText46 = customText46;
}
|
c4620a93-1316-4455-ad1f-685a095492d0
|
public java.lang.String getCustomPickList71() {
return this.customPickList71;
}
|
1be01aca-c700-4dc9-836b-c5b53714c564
|
public java.lang.String getCustomPickList98() {
return this.customPickList98;
}
|
0c20d7b4-d362-445c-b015-4e2cae748933
|
public void setCustomText32(crmondemand.xml.customobject6.query.QueryType customText32) {
this.customText32 = customText32;
}
|
66d985c0-abfa-4ebf-b1a4-e1edd7b108db
|
public java.math.BigDecimal getCustomNumber24() {
return this.customNumber24;
}
|
b23da253-3d79-44db-bedb-5cc2f3ddeccd
|
public StatusPanel()
{
super();
this.setSize(FaceStyle.BOTTOM_WIDTH, FaceStyle.BOTTOM_HEIGHT);
mBkImage = Toolkit.getDefaultToolkit().getImage(getClass().getResource(ResourcePath.IMG_BOTTOM));
}
|
ca3fd0b2-5690-4810-8e58-e829edbbe779
|
public java.lang.String getSalesPersonIDEMailAddr() {
return this.salesPersonIDEMailAddr;
}
|
3cb0452b-4989-48d3-bc34-3667e80b743a
|
public java.lang.String getCampaignId() {
return this.campaignId;
}
|
042392c4-6b72-4419-9066-f85b8fdb2c21
|
public crmondemand.xml.opportunity.query.QueryType getPortfolioAccountType() {
return this.portfolioAccountType;
}
|
d34bbba7-738b-4917-bfc5-4d4e5900dec2
|
public java.lang.String getCustomObject4Type() {
return this.customObject4Type;
}
|
34a5e485-99f3-49f5-a851-180f3f4354c6
|
static void update_page(){
int i,r,c,ro,co, all_dirty = 0;
int offsets[][]={{0,0},{64,0},{0,32},{64,32}};
if( old_tile_bank1 != sys16_tile_bank1 ){
all_dirty = 1;
old_tile_bank1 = sys16_tile_bank1;
}
if( old_tile_bank0 != sys16_tile_bank0 ){
all_dirty = 1;
old_tile_bank0 = sys16_tile_bank0;
tilemap_mark_all_tiles_dirty( text_layer );
}
if (all_dirty != 0)
{
tilemap_mark_all_tiles_dirty( background );
tilemap_mark_all_tiles_dirty( foreground );
if (sys16_18_mode != 0)
{
tilemap_mark_all_tiles_dirty( background2 );
tilemap_mark_all_tiles_dirty( foreground2 );
}
}
else
{
for(i=0;i<4;i++)
{
co=offsets[i][0];
ro=offsets[i][1];
if( old_bg_page[i]!=sys16_bg_page[i] )
{
old_bg_page[i] = sys16_bg_page[i];
for(r=0;r<32;r++)
for(c=0;c<64;c++)
tilemap_mark_tile_dirty( background, c+co, r+ro );
}
if( old_fg_page[i]!=sys16_fg_page[i] )
{
old_fg_page[i] = sys16_fg_page[i];
for(r=0;r<32;r++)
for(c=0;c<64;c++)
tilemap_mark_tile_dirty( foreground, c+co, r+ro );
}
if (sys16_18_mode != 0)
{
if( old_bg2_page[i]!=sys16_bg2_page[i] )
{
old_bg2_page[i] = sys16_bg2_page[i];
for(r=0;r<32;r++)
for(c=0;c<64;c++)
tilemap_mark_tile_dirty( background2, c+co, r+ro );
}
if( old_fg2_page[i]!=sys16_fg2_page[i] )
{
old_fg2_page[i] = sys16_fg2_page[i];
for(r=0;r<32;r++)
for(c=0;c<64;c++)
tilemap_mark_tile_dirty( foreground2, c+co, r+ro );
}
}
}
}
}
|
d5076378-334f-48b1-b92e-d2d93f4f9411
|
public java.lang.String getCustomPickList83() {
return this.customPickList83;
}
|
1f40ba3f-0617-430c-a9c1-c972fa6b363d
|
public java.lang.String getCreatedByAlias() {
return this.createdByAlias;
}
|
dee93ad1-5e28-400f-9db6-2e31e171f40b
|
public void handler() {
PORT_START();
/* IN0 */
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_COIN1);
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_COIN2);
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY);
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY);
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_BUTTON1);
PORT_DIPNAME(0x20, 0x00, DEF_STR("Cabinet"));
PORT_DIPSETTING(0x00, DEF_STR("Upright"));
PORT_DIPSETTING(0x20, DEF_STR("Cocktail"));
PORT_SERVICE(0x40, IP_ACTIVE_HIGH);
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_COIN3);
PORT_START();
/* IN1 */
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_START1);
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_START2);
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_COCKTAIL);
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_COCKTAIL);
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL);
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN);/* probably unused */
PORT_DIPNAME(0xc0, 0x00, DEF_STR("Coinage"));
PORT_DIPSETTING(0x40, DEF_STR("2C_1C"));
PORT_DIPSETTING(0x00, DEF_STR("1C_1C"));
PORT_DIPSETTING(0x80, DEF_STR("1C_2C"));
PORT_DIPSETTING(0xc0, DEF_STR("Free_Play"));
PORT_START();
/* DSW0 */
PORT_DIPNAME(0x03, 0x00, DEF_STR("Bonus_Life"));
PORT_DIPSETTING(0x00, "7000");
PORT_DIPSETTING(0x01, "10000");
PORT_DIPSETTING(0x02, "12000");
PORT_DIPSETTING(0x03, "20000");
PORT_DIPNAME(0x04, 0x04, DEF_STR("Lives"));
PORT_DIPSETTING(0x00, "2");
PORT_DIPSETTING(0x04, "3");
PORT_DIPNAME(0x08, 0x00, DEF_STR("Unknown"));
PORT_DIPSETTING(0x00, DEF_STR("Off"));
PORT_DIPSETTING(0x08, DEF_STR("On"));
PORT_BIT(0xf0, IP_ACTIVE_HIGH, IPT_UNUSED);
INPUT_PORTS_END();
}
|
4c440a57-3abe-416d-824e-2e9b137dd2cf
|
public void setCustomPickList0(crmondemand.xml.contact.query.QueryType customPickList0) {
this.customPickList0 = customPickList0;
}
|
c8e3b960-5cae-4670-8f7a-e339a0033e55
|
public void setCampaignIntegrationId(java.lang.String campaignIntegrationId) {
this.campaignIntegrationId = campaignIntegrationId;
}
|
63343838-0be5-4de7-be42-98e7c939d4e0
|
private boolean isIdentifier(int token) {
return token == TerminalTokens.TokenNameIdentifier;
}
|
b5e29d81-39cf-4b1a-b992-7fc38d0a7d4d
|
public void setCustomText29(java.lang.String customText29) {
this.customText29 = customText29;
}
|
55abc911-46a4-49d7-b421-b0fa1e5105da
|
public crmondemand.xml.opportunity.query.QueryType getCustomDate24() {
return this.customDate24;
}
|
607a22ba-2606-4cd9-bdac-fcc6672cc757
|
public java.lang.String getCustomText65() {
return this.customText65;
}
|
2f9d1a9b-9bcd-487b-ad6f-37f727e84604
|
public void setCustomCurrency22(java.math.BigDecimal customCurrency22) {
this.customCurrency22 = customCurrency22;
}
|
15706ca4-820e-4c36-8e6a-774f14dcb6e9
|
public void setCustomObject15ExternalSystemId(java.lang.String customObject15ExternalSystemId) {
this.customObject15ExternalSystemId = customObject15ExternalSystemId;
}
|
99935c66-9964-4500-9d6e-ec18867aceeb
|
public java.lang.String getCustomText34() {
return this.customText34;
}
|
b06c8645-0145-499f-b29c-58ad752514e7
|
public static Surrogate shadowSurrogate(String name) {
Stella.shadowSymbol(name);
return (((Surrogate)(GeneralizedSymbol.internRigidSymbolLocally(name, ((Module)(Stella.$MODULE$.get())), Stella.SURROGATE_SYM))));
}
|
633ab9b5-5b1e-48a2-9b2a-e1ab4ecd7fc0
|
public java.lang.String getCustomText75() {
return this.customText75;
}
|
64b4331a-6ffb-47a5-99be-0d4ba8d00a92
|
public java.math.BigDecimal getCustomNumber40() {
return this.customNumber40;
}
|
6f4d7839-add2-424a-b950-377238f1f35a
|
public java.lang.String getContactFirstName() {
return this.contactFirstName;
}
|
964d29ff-a742-4225-b710-6ac5cf4ceb9c
|
public crmondemand.xml.customobject6.query.QueryType getCustomCurrency11() {
return this.customCurrency11;
}
|
4b5c35c3-715a-41a2-a13c-da78f50c4c44
|
public Long getId() {
return id;
}
|
58b048f4-ba09-4a3c-9b03-563c0b8afa7b
|
public static org.bwapi.proxy.messages.GameMessages.TechType parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
|
2ee65d9a-6db1-4a61-8751-f77e4d2c02c4
|
public void setCustomDate26(crmondemand.xml.customobject6.query.QueryType customDate26) {
this.customDate26 = customDate26;
}
|
aba799c6-f43f-443f-84b5-416afaba0974
|
public crmondemand.xml.opportunity.query.QueryType getCustomText13() {
return this.customText13;
}
|
fd6e34e5-e6d9-455a-bf07-cad9b067f6ea
|
@NotNull
@Override
public String toString() {
return "<FromImport:" + module + ":" + names + ">";
}
|
85fd9250-471c-468a-bd6f-73620939c21f
|
public void setCustomDate8(crmondemand.xml.customobject3.query.QueryType customDate8) {
this.customDate8 = customDate8;
}
|
b571a5d0-f90f-41e0-9927-859d2020e560
|
public void setCustomPhone5(java.lang.String customPhone5) {
this.customPhone5 = customPhone5;
}
|
8ebfc5c1-3ca1-465f-a137-b6af6ff57970
|
@Override
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result + days;
result = prime * result
+ ((startDate == null) ? 0 : startDate.hashCode());
return result;
}
|
d4503f47-9811-4131-9a36-ece4da4bb80f
|
public java.util.Calendar getCustomDate17() {
return this.customDate17;
}
|
9842e79b-16a9-424a-9233-5fa6eb818444
|
public void setFinancialAccountExternalSystemId(java.lang.String financialAccountExternalSystemId) {
this.financialAccountExternalSystemId = financialAccountExternalSystemId;
}
|
6ab0b945-824c-4b26-a45c-da2f9fb4d654
|
public crmondemand.xml.contact.query.QueryType getCustomObject4Type() {
return this.customObject4Type;
}
|
76e84107-ad76-4154-961f-dd406794415c
|
public java.lang.Integer getCustomInteger34() {
return this.customInteger34;
}
|
74d7fcad-6a99-4019-92ef-be675a2c1a36
|
public int getvsNum()
{
return vsNum;
}
|
68f48aa8-0868-4ded-a3bf-fa686e392f27
|
public java.lang.String getFinancialAccountCurrencyCode() {
return this.financialAccountCurrencyCode;
}
|
414f48fd-ee64-4232-920b-78b6a9f25e19
|
public void setCustomNumber55(crmondemand.xml.contact.query.QueryType customNumber55) {
this.customNumber55 = customNumber55;
}
|
5c7e5fab-ed9f-4a8c-bbbe-ec9981e2914b
|
public boolean hasGroupForWorld(String player, String world){
if(xm.getUsers().get().isSet("users." + player + "." + world)){
return true;
}
return false;
}
|
36f3c4c0-82ca-40f8-9bf8-90a9f2d9e36a
|
public void setCustomInteger13(java.lang.Integer customInteger13) {
this.customInteger13 = customInteger13;
}
|
56ed8788-7a36-4d79-a9c2-ce6ef0fb8d6f
|
public void updateSearchPicturesfromTags(String tag){
this.db.updateSearchPicturesfromTags(tag);
}
|
a247dc15-b607-4e40-a6e7-98a84dc5a9d7
|
public void setCustomPickList85(crmondemand.xml.contact.query.QueryType customPickList85) {
this.customPickList85 = customPickList85;
}
|
090ce06a-edf5-46a8-ada6-79dd70cdadde
|
public crmondemand.xml.customobject6.query.QueryType getCustomText22() {
return this.customText22;
}
|
f63cfe39-62f5-4da6-8715-8e3032fd9a13
|
public void setGravity(double vx, double vy) {
this.world.setGravity(new Vec2((float) vx, (float) vy));
}
|
261ec620-0a10-451e-a088-871f621870df
|
public void setCustomText70(crmondemand.xml.customobject6.query.QueryType customText70) {
this.customText70 = customText70;
}
|
4141e833-355f-453c-9c14-b0a072c56f15
|
public void setStatus(crmondemand.xml.contact.query.QueryType status) {
this.status = status;
}
|
387f5f1a-55e7-497a-a79e-69825dd12f98
|
@Override
public void run() {
System.out.printf("%s: Going to print a job\n", Thread.currentThread().getName());
printQueue.printJob(new Object());
System.out.printf("%s: The document has been printed\n", Thread.currentThread().getName());
}
|
e703f378-31a8-49a6-899f-927748c52f78
|
public crmondemand.xml.contact.query.QueryType getCustomPickList63() {
return this.customPickList63;
}
|
bf3e63ff-8cc0-4e0c-b913-6be82fe0f32c
|
@Override
public BigDecimal calculateSaleTax(ConcreteItem item){
Set<TaxRateType>taxRateTypeSet = item.getTaxRateType();
BigDecimal finalSaleTax;
if(taxRateTypeSet.contains(TaxRateType.BASIC_SALE_TAX)){
BasicSaleTaxWithRounding basckSaleTax = new BasicSaleTaxWithRounding();
if(taxRateTypeSet.contains(TaxRateType.IMPORT_TAX)){
ImportedTaxWithRounding ImportedTax = new ImportedTaxWithRounding(basckSaleTax);
finalSaleTax = ImportedTax.getTaxWithRounding(item);
}else{
finalSaleTax = basckSaleTax.getTaxWithRounding(item);
}
}else{
ExemptTaxWithRounding exemptTax = new ExemptTaxWithRounding();
if(taxRateTypeSet.contains(TaxRateType.IMPORT_TAX)){
ImportedTaxWithRounding ImportedTax = new ImportedTaxWithRounding(exemptTax);
finalSaleTax = ImportedTax.getTaxWithRounding(item);
}else{
finalSaleTax = exemptTax.getTaxWithRounding(item);
}
}
return finalSaleTax;
}
|
bcbb34ec-7b95-46af-a098-801bb5614543
|
public java.math.BigDecimal getCustomNumber3() {
return this.customNumber3;
}
|
061bd06e-095b-42aa-9e80-a50816ddc76c
|
public Parser_Sem(String saOutput){
mUlaz = saOutput;
mLista = Arrays.asList(mUlaz.split("\n"));
mIt = mLista.iterator();
mProviriVrijednost = mIt.next();
mDubinaZadnjeProcitanogCvora = 0;
mProcitanoRedova = 0;
}
|
0131e6c8-f01c-4510-b05b-ba895a3313a6
|
public void setCustomText36(java.lang.String customText36) {
this.customText36 = customText36;
}
|
f95742a6-9dff-46ab-b927-5658e9a6c4c4
|
public void setInvtPeriodReconciledFlg(java.lang.Boolean invtPeriodReconciledFlg) {
this.invtPeriodReconciledFlg = invtPeriodReconciledFlg;
}
|
0e7dad11-f500-45b6-826d-78e38cfb7732
|
public boolean hasTarget() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
|
a3fee96a-053d-462b-9cd3-893b637b24f5
|
public void setIndexedPick4(crmondemand.xml.customobject6.query.QueryType indexedPick4) {
this.indexedPick4 = indexedPick4;
}
|
4ff95e4e-ed20-4a70-9b91-f3d3c1134fb8
|
public java.lang.Integer getCustomInteger26() {
return this.customInteger26;
}
|
9aaf9eb0-677c-40d4-b1bc-6dcce8b62412
|
public void setPrix_moteur(Double prix_moteur) {
this.prix_moteur = prix_moteur;
}
|
d5700dfe-a344-4c51-9fc2-2b41c7bb943c
|
public crmondemand.xml.contact.query.QueryType getCustomBoolean32() {
return this.customBoolean32;
}
|
a37ed838-0944-48ce-acba-ca9681481adb
|
public void setCustomPhone4(java.lang.String customPhone4) {
this.customPhone4 = customPhone4;
}
|
717ef193-7d9c-48a9-a463-209598453939
|
public crmondemand.xml.contact.query.QueryType getCustomPickList90() {
return this.customPickList90;
}
|
b65726d7-f85c-45bf-93d2-0c75e63add6e
|
public crmondemand.xml.customobject6.query.QueryType getCustomPickList5() {
return this.customPickList5;
}
|
9cf13410-8e4f-416e-8f3a-74c503a7029c
|
public static void htmlExecuteQuery(KeyValueList querydata, org.powerloom.PrintableStringWriter stream) {
{ String modulename = ((StringWrapper)(querydata.lookup(StringWrapper.wrapString("MODULE")))).wrapperValue;
Module module = Logic.getModule(StringWrapper.wrapString(modulename));
StringWrapper nvalueentry = ((StringWrapper)(querydata.lookup(StringWrapper.wrapString("NANSWERS"))));
Stella_Object nvalueobject = ((nvalueentry != null) ? Stella.readSExpressionFromString(nvalueentry.wrapperValue) : ((Stella_Object)(null)));
int nvalues = (Stella_Object.integerP(nvalueobject) ? ((IntegerWrapper)(nvalueobject)).wrapperValue : Stella.NULL_INTEGER);
StringWrapper timeoutentry = ((StringWrapper)(querydata.lookup(StringWrapper.wrapString("TIMEOUT"))));
Stella_Object timeoutobject = ((timeoutentry != null) ? Stella.readSExpressionFromString(timeoutentry.wrapperValue) : ((Stella_Object)(null)));
double timeout = (Stella_Object.floatP(timeoutobject) ? ((FloatWrapper)(timeoutobject)).wrapperValue : Stella.NULL_FLOAT);
Cons query = Stella.NIL;
Cons options = Cons.list$(Cons.cons(OntosaurusUtil.KWD_SORT_BY, Cons.cons(OntosaurusUtil.KWD_VALUES, Cons.cons(Stella.NIL, Stella.NIL))));
List variables = List.newList();
if (module != null) {
{ Object old$Module$000 = Stella.$MODULE$.get();
Object old$Context$000 = Stella.$CONTEXT$.get();
try {
Native.setSpecial(Stella.$MODULE$, module);
Native.setSpecial(Stella.$CONTEXT$, ((Module)(Stella.$MODULE$.get())));
query = ((Cons)(Stella.readSExpressionFromString(((StringWrapper)(querydata.lookup(StringWrapper.wrapString("QUERYSOURCE")))).wrapperValue)));
Logic.collectUndeclaredVariables(query, Stella.NIL, variables);
if (timeout != Stella.NULL_FLOAT) {
options = options.concatenate(Cons.list$(Cons.cons(OntosaurusUtil.KWD_TIMEOUT, Cons.cons(FloatWrapper.wrapFloat(timeout), Cons.cons(Stella.NIL, Stella.NIL)))), Stella.NIL);
}
if (variables.emptyP()) {
OntosaurusUtil.htmlExecuteAskQuery(query, options, module, stream);
}
else {
OntosaurusUtil.htmlExecuteRetrieveQuery(nvalues, variables.theConsList, query, options, module, stream);
}
OntosaurusUtil.htmlLineBreak(stream);
stream.println("<HR SIZE=2>");
OntosaurusUtil.writePowerloomTrailer(stream);
} finally {
Stella.$CONTEXT$.set(old$Context$000);
Stella.$MODULE$.set(old$Module$000);
}
}
}
else {
OntosaurusUtil.htmlUnknownModuleResponse(OntosaurusUtil.KWD_QUERY, "", modulename, stream);
}
}
}
|
019b6133-5e7e-4921-ba8f-e8bb93b205be
|
public void setCustomPickList2(java.lang.String customPickList2) {
this.customPickList2 = customPickList2;
}
|
4b136ac9-170f-4c9b-8624-ae709f8c9e20
|
public void setCustomInteger5(crmondemand.xml.customobject6.query.QueryType customInteger5) {
this.customInteger5 = customInteger5;
}
|
0d279b3b-55a1-43c2-8b42-043581a08ff6
|
public void setCustomMultiSelectPickList3(crmondemand.xml.opportunity.query.QueryType customMultiSelectPickList3) {
this.customMultiSelectPickList3 = customMultiSelectPickList3;
}
|
5cc6c215-ed79-4644-aef1-4a3082b2fea4
|
public void setCustomInteger8(java.lang.Integer customInteger8) {
this.customInteger8 = customInteger8;
}
|
05b40743-6918-467b-8892-12583438a71c
|
public void setCustomNumber26(java.math.BigDecimal customNumber26) {
this.customNumber26 = customNumber26;
}
|
39036c2b-08e2-42cf-8093-349c274f64a7
|
public crmondemand.xml.customobject3.query.QueryType getCustomObject12ExternalSystemId() {
return this.customObject12ExternalSystemId;
}
|
a97e80af-6c68-4118-9246-e16a95011987
|
public crmondemand.xml.customobject6.query.QueryType getCustomInteger111() {
return this.customInteger111;
}
|
258200c8-2612-4b9f-b792-259f1787e734
|
public static void main(String[] args) throws InterruptedException {
MyThreadFactory myFactory = new MyThreadFactory("MyThreadFactory");
MyTask task = new MyTask();
Thread thread = myFactory.newThread(task);
thread.start();
thread.join();
System.out.printf("Main: Thread information.\n");
System.out.printf("%s\n", thread);
System.out.printf("Main: End of the example.\n");
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.