id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
45735cf5-84dc-4cb9-a4fc-031b9f0813cb | public crmondemand.xml.contact.query.QueryType getSolutionLegalApproval() {
return this.solutionLegalApproval;
} |
831b174b-a4e3-4134-8213-cf208d68fedd | public void setCustomObject10Name(crmondemand.xml.customobject6.query.QueryType customObject10Name) {
this.customObject10Name = customObject10Name;
} |
88b0487e-bdac-4065-820a-fdf4d2a86ca3 | public java.lang.String getCustomPickList79() {
return this.customPickList79;
} |
732235d0-9bd9-4cf2-9e92-db21b884ecf9 | @Override
public CMObject lowestQualifyingClassRaceGovt(MOB studentM, Ability A)
{
if(studentM==null)
return null;
int theLevel=-1;
CMObject theClass=null;
final AbilityMapping personalMap = getPersonalMapping(studentM, A.ID());
if(personalMap != null)
{
theLevel = personalMap.qualLevel();
theClass = studentM;
}
for(int c=studentM.charStats().numClasses()-1;c>=0;c--)
{
final CharClass C=studentM.charStats().getMyClass(c);
final int level=getQualifyingLevel(C.ID(),true,A.ID());
final int classLevel=studentM.charStats().getClassLevel(C);
if((level>=0)
&&(classLevel>=level)
&&((theLevel<0)||(theLevel>=level)))
{
theLevel=level;
theClass=C;
}
}
final int raceLevel=getQualifyingLevel(studentM.charStats().getMyRace().ID(),false,A.ID());
if((raceLevel>=0)
&&((theClass==null)||((studentM.basePhyStats().level()>=raceLevel)&&(theLevel>raceLevel))))
theClass=studentM.charStats().getMyRace();
for(final Pair<Clan,Integer> c : studentM.clans())
{
final int clanLevel=getQualifyingLevel(c.first.getGovernment().getName(),false,A.ID());
if((clanLevel>=0)&&(c.first.getClanLevel()>=clanLevel)&&(theLevel>clanLevel))
{
theClass=c.first.getGovernment();
theLevel=clanLevel;
}
}
return theClass;
} |
41f70073-80c8-434b-9688-4fd290b5ec8d | public void setZip (String zip) {
this.zip = zip;
} |
455b881c-1a41-4727-9c52-3481db5f004b | public void test_compareTo_offset2() {
ZonedDateTime a = ZonedDateTime.of(LocalDateTime.of(2008, 6, 30, 11, 30, 40, 5), ZoneId.of("UTC+01:01"));
ZonedDateTime b = ZonedDateTime.of(LocalDateTime.of(2008, 6, 30, 11, 30, 40, 4), ZONE_0100); // a is
// before b
// due to
// offset
assertEquals(a.compareTo(b) < 0, true);
assertEquals(b.compareTo(a) > 0, true);
assertEquals(a.compareTo(a) == 0, true);
assertEquals(b.compareTo(b) == 0, true);
}
@Test(groups = { "tck" } |
cd6cd089-741c-40c0-b56d-391e7cc3b5ea | public crmondemand.xml.customobject3.query.QueryType getCustomInteger21() {
return this.customInteger21;
} |
03c9f282-bb39-4dc2-bada-3a7f18c55f24 | public static byte[] dropItemFromMapObject(MapleMapItem drop, Point dropfrom, Point dropto, byte mod) {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendPacketOpcode.DROP_ITEM_FROM_MAPOBJECT.getValue());
mplew.write(mod);
mplew.writeInt(drop.getObjectId());
mplew.write(drop.getMeso() > 0 ? 1 : 0);
mplew.writeInt(drop.getItemId());
mplew.writeInt(drop.getOwner());
mplew.write(drop.getDropType());
mplew.writePos(dropto);
mplew.writeInt(0);
if (mod != 2) {
mplew.writePos(dropfrom);
mplew.writeShort(0);
// mplew.write(0);//removed 143 or other0
}
mplew.write(0);
if (drop.getMeso() == 0) {
PacketHelper.addExpirationTime(mplew, drop.getItem().getExpiration());
}
mplew.writeShort(drop.isPlayerDrop() ? 0 : 1);
mplew.writeInt(0);
mplew.writeInt(0);//new v148
return mplew.getPacket();
} |
42b41a90-d6cb-49ac-acb3-7760674da21a | public Direction getDirection()
{
return this.direction;
} |
772d18a7-6a57-4f20-9838-0fe864fe7ec2 | public java.lang.String getClaimNumber() {
return this.claimNumber;
} |
84ef1e86-522c-46a5-a859-cdb43d204541 | @Override
public String defaultValue()
{
return "1";
} |
66e8b9d7-7ab9-4b21-9e4d-22d466399514 | public void setCustomNumber64(java.math.BigDecimal customNumber64) {
this.customNumber64 = customNumber64;
} |
ca1c67a0-e481-4e87-8bf8-23cc0565ed7b | public java.lang.String getCustomObject1Id() {
return this.customObject1Id;
} |
cde7e02f-80de-4442-af79-272c8dc73d8c | public java.lang.String getCustomText29() {
return this.customText29;
} |
5e2fdf28-def2-47c4-a417-ae13d1eb19c3 | public crmondemand.xml.customobject3.query.QueryType getCustomNumber59() {
return this.customNumber59;
} |
309c8717-0493-4583-80c3-c2bb5f6dc413 | public java.lang.String getCustomPickList68() {
return this.customPickList68;
} |
582e1682-b064-4111-b4d8-e0b3cc7bfa17 | public void setCustomInteger6(java.lang.Integer customInteger6)
{
this.customInteger6 = customInteger6;
} |
974a2153-4e2b-46e7-9c6e-e11b6e030ebc | public boolean addFromDrop(Object statsSel) {
if (statsSel instanceof Item) {
final Item it = (Item) statsSel;
return MapleInventoryManipulator.checkSpace(getClient(), it.getItemId(), it.getQuantity(), it.getOwner()) && MapleInventoryManipulator.addFromDrop(getClient(), it, false);
}
return false;
} |
41697ada-d26a-4827-84a1-d45230f77946 | public void setCustomText40(crmondemand.xml.contact.query.QueryType customText40) {
this.customText40 = customText40;
} |
4d2aa8d3-5a1a-40a0-a6b9-dbc2da6472a1 | protected Musica( String nombre, String codigo, float precio)
{
this.nombre = nombre;
this.codigo = codigo;
this.precio = precio;
this.id = Musica.idGeneral++;
} |
c32f06f0-5ae0-4568-a0f4-42234d359660 | public crmondemand.xml.customobject6.query.QueryType getCustomDate24() {
return this.customDate24;
} |
c3a2df25-8f45-4bd9-ba7f-5fe2b6a3e5cc | public crmondemand.xml.customobject6.query.QueryType getCustomBoolean34() {
return this.customBoolean34;
} |
ee62f192-d7e2-486b-adc1-1f6fc3f9badf | private void formComponentResized(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentResized
jSplitPane1.setDividerLocation((int)(( evt.getComponent().getWidth() - 75 ) * Float.parseFloat(config.getProperty("UI.DiverderLocPer", "0.31")))); // 自动调整分割栏
} |
60254625-a01b-48ac-a6d8-3b6a7f413d18 | * @param ch
* @return char
*/
public static char mutableString_secondSetter(StringBuffer self, char ch) {
return (edu.isi.stella.javalib.Native.mutableString_nthSetter(self, ch, 1));
} |
12035ca0-c117-4d17-8dec-f6b1356300fb | public void setMedEdIntegrationId(java.lang.String medEdIntegrationId) {
this.medEdIntegrationId = medEdIntegrationId;
} |
4b976a22-40a7-4533-99c2-3d5dad52dc02 | public void test_plusDays_maximum() {
OffsetDate t = OffsetDate.of(Year.MAX_YEAR, 12, 30, OFFSET_PONE).plusDays(1);
OffsetDate expected = OffsetDate.of(Year.MAX_YEAR, 12, 31, OFFSET_PONE);
assertEquals(t, expected);
}
@Test(groups = { "tck" } |
31552c61-0814-4f0f-a523-6cefaf26a2ff | public void setCustomMultiSelectPickList2(crmondemand.xml.customobject6.query.QueryType customMultiSelectPickList2) {
this.customMultiSelectPickList2 = customMultiSelectPickList2;
} |
5e96c1ff-61dd-420d-9999-0933cb4641b0 | public void setCustomNumber1(java.math.BigDecimal customNumber1) {
this.customNumber1 = customNumber1;
} |
2e5304e0-79a6-4ed2-9978-45a237827479 | public crmondemand.xml.contact.query.QueryType getBusinessAccountOwner() {
return this.businessAccountOwner;
} |
407d2076-ae4b-46cb-a484-f2f6dcf696b9 | public java.lang.Boolean getCustomBoolean12() {
return this.customBoolean12;
} |
7b20c3d4-eaac-4210-9bbc-17125f20a126 | public java.lang.String getCustomObject14Id() {
return this.customObject14Id;
} |
edf2c88c-d511-4888-8219-9ce53bdbd1ea | public java.lang.String getMedEdId() {
return this.medEdId;
} |
33cf32a3-067c-4ebf-991f-1667fbd50135 | public void setCustomPickList74(crmondemand.xml.contact.query.QueryType customPickList74) {
this.customPickList74 = customPickList74;
} |
95340e66-4d20-463c-b69f-4bf83fba062a | public java.lang.String getCustomText66() {
return this.customText66;
} |
0cc3d551-a0db-4e1d-8265-177168688156 | private com.google.protobuf.RepeatedFieldBuilder<
org.bwapi.proxy.messages.GameMessages.Bullet, org.bwapi.proxy.messages.GameMessages.Bullet.Builder, org.bwapi.proxy.messages.GameMessages.BulletOrBuilder>
getBulletsFieldBuilder() {
if (bulletsBuilder_ == null) {
bulletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
org.bwapi.proxy.messages.GameMessages.Bullet, org.bwapi.proxy.messages.GameMessages.Bullet.Builder, org.bwapi.proxy.messages.GameMessages.BulletOrBuilder>(
bullets_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
bullets_ = null;
}
return bulletsBuilder_;
} |
66968f55-64bd-413c-abb3-3f659680fcc4 | public crmondemand.xml.customobject6.query.QueryType getProgramId() {
return this.programId;
} |
ce198562-38a2-4179-b09a-41cce5e14518 | public crmondemand.xml.customobject6.query.QueryType getCustomObject3Name() {
return this.customObject3Name;
} |
719e88f6-b4c3-4d97-9948-e9fb60d27918 | public crmondemand.xml.customobject6.query.QueryType getOpportunityRevenue() {
return this.opportunityRevenue;
} |
5f3fb0d6-73d8-4a0d-ac8c-aff1d4417c0b | public java.lang.String getCustomPickList27() {
return this.customPickList27;
} |
d4350e42-9d4f-4a86-b65b-39e0fadb9102 | public java.lang.String getCustomText67() {
return this.customText67;
} |
3abb5e5b-d544-4ba4-a20f-41159a487d6f | public boolean fuegeHinzuGut(float kg) {
boolean result = false;
if (this.gewicht + kg <= max) {
this.gewicht += kg;
result = true;
System.out.println("Gut mit "+kg+"kg hinzugefgt");
} else {
System.out.println("Fehler: Gut mit "+kg+"kg kann nicht hinzugefgt werden, da das max. Gewicht berschritten werden wrde!");
}
return result;
} |
1a1a568e-9588-4f4e-b75f-31ed884fcccd | public void setMemento(Memento memento) {
this.memento = memento;
} |
3cbf9ee7-8a4c-4e19-bb9a-fc61a6c2e928 | public void setCustomPickList69(crmondemand.xml.opportunity.query.QueryType customPickList69) {
this.customPickList69 = customPickList69;
} |
6d641e4b-5101-450d-9275-5492003a87f0 | public crmondemand.xml.contact.query.QueryType getCustomText64() {
return this.customText64;
} |
152e1a6e-8394-4403-8739-f2bd06b3b55c | public java.math.BigDecimal getCustomCurrency22() {
return this.customCurrency22;
} |
69d4fa55-606f-4e52-89eb-ac4538536525 | public void setCustomObject14Name(java.lang.String customObject14Name) {
this.customObject14Name = customObject14Name;
} |
aadbe878-9b34-494c-ab82-36015d0db966 | public void setAmountRequested(crmondemand.xml.customobject3.query.QueryType amountRequested) {
this.amountRequested = amountRequested;
} |
2fe12de4-e25f-4747-9089-4822ab0b4efd | public void setCustomNumber57(crmondemand.xml.customobject3.query.QueryType customNumber57) {
this.customNumber57 = customNumber57;
} |
f2fec856-bf60-4a37-bb70-c87188de1bb6 | public Game(ChessBoard board,String white, String black) {
this.white = white;
this.black = black;
init(board);
} |
be6f23fa-85dc-4d1e-83b7-e72cd7714e20 | public void setCustomObject12IntegrationId(crmondemand.xml.contact.query.QueryType customObject12IntegrationId) {
this.customObject12IntegrationId = customObject12IntegrationId;
} |
9765c5cc-4a81-4a4c-8cc6-4a98f616840d | @SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public Class getColumnClass(int c) {
return getValueAt(0, c).getClass();
} |
20bd2092-2252-4e74-b452-4f4ec09c599f | public void setAccountName(crmondemand.xml.customobject3.query.QueryType accountName) {
this.accountName = accountName;
} |
9683e683-b5d5-416a-9929-1a59641b13cd | public String getLanguage() {
return language;
} |
cb0c4692-54fc-41a4-961b-e46bef6095d2 | public void setCustomPickList63(crmondemand.xml.customobject3.query.QueryType customPickList63) {
this.customPickList63 = customPickList63;
} |
86ffe367-0c96-4766-80c9-035c6845fc1e | public void setCustomNumber3(java.math.BigDecimal customNumber3) {
this.customNumber3 = customNumber3;
} |
950a10d5-b671-476a-9fed-47a109f7f7c9 | public crmondemand.xml.opportunity.query.QueryType getCustomPickList95() {
return this.customPickList95;
} |
26288e92-54ab-4043-be1b-16a693fec4eb | public void setCustomPhone1(crmondemand.xml.customobject3.query.QueryType customPhone1) {
this.customPhone1 = customPhone1;
} |
17fdf857-c2dd-43a6-914f-dc187e1d80c0 | public java.lang.String getPartnerName() {
return this.partnerName;
} |
0ddbb288-c3ca-45e7-a8e2-fcec6dcad71a | public crmondemand.xml.contact.query.QueryType getCustomPickList15() {
return this.customPickList15;
} |
65497d3a-f4ce-4c54-bc81-b6cf7f616d9f | public java.lang.String getCustomText73() {
return this.customText73;
} |
b241b304-0c11-4eeb-a687-b2792fb8b497 | public crmondemand.xml.opportunity.query.QueryType getWrapUpEndTime() {
return this.wrapUpEndTime;
} |
fb449b3a-a183-4eef-b526-9f28a84c929e | private void setUpLegend() {
Texture authorImage = new Texture();
try {
authorImage.loadFromFile(Paths.get("resources","author.png"));
} catch (IOException e) {
System.out.println("Error in package sign sprite load");
}
float maxLength = 0;
int authorYPosition = 10;
for (Map.Entry<String, Author> entry: allAuthors.entrySet()) {
Author author = entry.getValue();
Text authorNameText = new Text(author.getAuthorName(), defaultFont, 12);
Sprite authorSprite = author.getAuthorSprite();
authorSprite.setPosition(10, authorYPosition);
authorSprite.setColor(author.getAuthorColor());
authorSprite.setTexture(authorImage);
authorNameText.setPosition(authorSprite.getPosition().x, authorSprite.getPosition().y + authorNameText.getLocalBounds().height + 3);
authorNameText.setColor(author.getAuthorColor());
author.setAuthorNameText(authorNameText);
authorYPosition=(int) (authorYPosition+authorSprite.getLocalBounds().height + authorNameText.getLocalBounds().height + 5);
if (author.getAuthorNameText().getLocalBounds().width > maxLength) {
maxLength = author.getAuthorNameText().getLocalBounds().width;
}
}
setupLegendView(maxLength + 15);
} |
95b66084-e6d6-4331-9a96-931e9e48be9e | public void handler() {
konami.y = DIRWORD();
CLR_NZV();
SET_NZ16(konami.y);
if (konamilog != null) {
fprintf(konamilog, "konami#%d ldy_di :PC:%d,PPC:%d,A:%d,B:%d,D:%d,DP:%d,U:%d,S:%d,X:%d,Y:%d,CC:%d,EA:%d\n", cpu_getactivecpu(), konami.pc, konami.ppc, A(), B(), konami.d, konami.dp, konami.u, konami.s, konami.x, konami.y, konami.cc, ea);
}
} |
fdb3b0a8-f8f0-4524-b425-2bf14a64668a | @Override
public EdgePulse addEdge(VertexPulse sourceVertex, VertexPulse targetVertex) {
// TODO Auto-generated method stub
return null;
} |
eb05c4d5-3925-4803-ab51-2e4c9e9910b3 | public crmondemand.xml.customobject6.query.QueryType getCustomBoolean10() {
return this.customBoolean10;
} |
e175b7a5-95f8-40ff-8ce2-bf7157cf4bf7 | public void setFirstName(java.lang.String firstName) {
this.firstName = firstName;
} |
1570685d-ef60-4d4d-b257-d5e33afcc410 | public java.math.BigDecimal getCustomNumber10() {
return this.customNumber10;
} |
f05bafb8-0c49-491a-ac15-d7c3640347a6 | public java.lang.String getActivityCallType() {
return this.activityCallType;
} |
536b2c01-bd0b-47a6-9753-f1da95d67e37 | public void setCreatedDate(crmondemand.xml.contact.query.QueryType createdDate) {
this.createdDate = createdDate;
} |
3f496b22-d4db-4d49-b458-3ea2f75f9f22 | public void setCustomNumber4(java.math.BigDecimal customNumber4) {
this.customNumber4 = customNumber4;
} |
e9e85566-6e42-4e71-bbf3-cd272a28d8a6 | public java.math.BigDecimal getPolicyTotalPremium() {
return this.policyTotalPremium;
} |
1462b21e-fabf-4683-a1f2-b343387cddcb | public java.lang.String getCustomText1() {
return this.customText1;
} |
62714164-d258-4594-a732-d19140ea27c2 | public static com.google.protobuf.DescriptorProtos.FileDescriptorSet parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
} |
bccaa650-e3df-4bf4-96e8-dba017760319 | private boolean parse(){
// Parse tokens that can only come at the start
Boolean success = parseZeroOrMinus();
if (success != null){
return success;
}
// Parse the rest of the tokens
return parseStart();
} |
fddb211b-a536-46e6-aebb-61b23bbd5529 | public void setCustomObject2Id(crmondemand.xml.customobject6.query.QueryType customObject2Id) {
this.customObject2Id = customObject2Id;
} |
fb984337-ed26-4749-9f93-8f4b78503e8d | public void populateSymbolTable()
{
if (m_declaration != null)
{
m_declaration.populateSymbolTable();
}
if (m_predicate != null)
{
m_predicate.populateSymbolTable();
}
} |
e20977b8-35f6-482c-a4f6-4aa42aeccb83 | public Moteur(int id_moteur, String nom_moteur, String ref_moteur, Double prix_moteur, String quantite_moteur) {
this.id_moteur = id_moteur;
this.nom_moteur = nom_moteur;
this.ref_moteur = ref_moteur;
this.prix_moteur = prix_moteur;
this.quantite_moteur = quantite_moteur;
} |
f0850548-9361-4481-be0e-f741ea29ea05 | public java.lang.String getCustomText67() {
return this.customText67;
} |
dd2a113d-6ecb-4169-8a1d-6c22b56e9143 | public void setQuickSearch2(java.lang.String quickSearch2) {
this.quickSearch2 = quickSearch2;
} |
e75de7b3-dbc2-4493-bb3d-eac9247e32d2 | public java.lang.String getCustomObject2IntegrationId() {
return this.customObject2IntegrationId;
} |
ce54b8c3-c2cd-4111-94a4-8ff9126134f2 | public void setIcon(Icon icon){
this.icon=icon;
setImage(((ImageIcon)icon).getImage());
} |
9d1cfc1f-17ee-4b99-be8c-f0babfe77045 | public crmondemand.xml.customobject6.query.QueryType getCustomPickList41() {
return this.customPickList41;
} |
0d691aeb-dc95-4b76-8976-6e43ff20fb8d | public void setModifiedBy(crmondemand.xml.contact.query.QueryType modifiedBy) {
this.modifiedBy = modifiedBy;
} |
ea7ca80e-cae0-4afd-8f9a-83662932be38 | public java.lang.String getCustomPickList65() {
return this.customPickList65;
} |
e1ae27ed-578b-4c16-9486-303ddb5556aa | public void setBrokerProfileBrokerProfileName(java.lang.String brokerProfileBrokerProfileName) {
this.brokerProfileBrokerProfileName = brokerProfileBrokerProfileName;
} |
81422ddd-d477-42e5-a446-771163659a63 | public void setZCustomText56(java.lang.String zCustomText56) {
this.zCustomText56 = zCustomText56;
} |
b9d790c2-0e18-4f10-b243-2dbac81e3ebb | @Override
public void print() {
for (HashMap<K,V> bucket : table) {
Iterator<Entry<K, V>> it = bucket.entrySet().iterator();
while (it.hasNext()) {
Map.Entry<K,V> pairs = it.next();
System.out.println("Key: " + pairs.getKey() + ". Val: " + pairs.getValue());
it.remove(); // avoids a ConcurrentModificationException
}
}
} |
47012a3a-5e22-4a6a-9402-285d052987d0 | public void run() {
add(createNorthPanel(), BorderLayout.NORTH);
add(createCenterContainerPanel(), BorderLayout.CENTER);
add(createSouthPanel(), BorderLayout.SOUTH);
layoutFrame();
} |
4507dc7d-fb32-4095-b05d-04cb6cb597c0 | public void Draw(Simulator gs, Graphics g){
gs.DrawPlanet(g,(int)this.posX,(int)this.posY,(int)this.radius,this.colour);
} |
7513ee46-aab7-4bfd-8b1f-fecbfd54e81d | public java.lang.Integer getCustomInteger11() {
return this.customInteger11;
} |
29f9738e-a90b-4bb3-a5ac-2c53becc17c2 | private void checkChangeOfConfigurationAuthority() throws ConfigurationChangeException {
final ConfigurationAuthority configurationAuthority = _dataModel.getConfigurationAuthority();
// KV der Bereiche prüfen
if(configurationAuthority != null) {
final AttributeGroup configurationAreaAtg = _dataModel.getAttributeGroup("atg.konfigurationsBereichEigenschaften");
for(Map.Entry<ConfigurationAreaProperties, ConfigurationArea> entry : _areaProperty2ConfigurationArea.entrySet()) {
final ConfigurationArea configurationArea = entry.getValue();
final String areaPropertyAuthority = entry.getKey().getAuthority();
if(!areaPropertyAuthority.equals(configurationArea.getConfigurationAuthority().getPid())) {
// neuen Zuständigen eintragen
final ConfigurationAuthority newAuthority = (ConfigurationAuthority)getObject(areaPropertyAuthority);
if(newAuthority == null) {
throwNoObjectException(areaPropertyAuthority);
}
for(ImportObject importObject : _importMap.values()) {
if(importObject.getSystemObject() == newAuthority) {
_debug.fine("Neuen KV vervollständigen", newAuthority);
completeImportObject(importObject);
}
}
// ist die Kodierung eindeutig?
checkCodingOfConfigurationAuthority(newAuthority.getCoding(), newAuthority.getPid());
final Data data = getConfigurationData(configurationArea, configurationAreaAtg);
data.getReferenceValue("neuerZuständiger").setSystemObject(newAuthority);
configurationArea.setConfigurationData(configurationAreaAtg, data);
_debug.info(
"Der Bereich " + configurationArea.getPid() + " ändert ab der nächsten Version seinen Zuständigen zu " + newAuthority.getPid() + "."
);
}
else {
final ConfigurationAuthority newAuthority = (ConfigurationAuthority)getObject(areaPropertyAuthority);
if(newAuthority == null) {
throwNoObjectException(areaPropertyAuthority);
}
final Data data = getConfigurationData(configurationArea, configurationAreaAtg);
if(data==null) {
throw new IllegalStateException("Am Bereich " + configurationArea + " fehlt der Datensatz der Attributgruppe " + configurationAreaAtg);
}
final SystemObject oldConfigurationAuthority = data.getReferenceValue("zuständiger").getSystemObject();
if(oldConfigurationAuthority == null || oldConfigurationAuthority.getId() != newAuthority.getId()) {
for(ImportObject importObject : _importMap.values()) {
if(importObject.getSystemObject() == newAuthority) {
_debug.fine("Neuen KV vervollständigen", newAuthority);
completeImportObject(importObject);
}
}
// ist die Kodierung eindeutig?
checkCodingOfConfigurationAuthority(newAuthority.getCoding(), newAuthority.getPid());
// neuen Zuständigen eintragen
data.getReferenceValue("neuerZuständiger").setSystemObject(newAuthority);
configurationArea.setConfigurationData(configurationAreaAtg, data);
_debug.info(
"Der Bereich " + configurationArea.getPid() + " ändert ab der nächsten Version seinen Zuständigen von " +
oldConfigurationAuthority.getPid() + "/" + oldConfigurationAuthority.getId() + " zu " +
newAuthority.getPid() + "/" + newAuthority.getId() + "."
);
}
else {
// prüfen, ob beim neuen Zuständigen die null drinsteht!
final Data.ReferenceValue referenceValue = data.getReferenceValue("neuerZuständiger");
final SystemObject object = referenceValue.getSystemObject();
if(object != null) {
referenceValue.setSystemObject(null);
configurationArea.setConfigurationData(configurationAreaAtg, data);
}
}
}
}
}
} |
81eea07b-de33-4c39-977b-7a2d8284c5f5 | @Override
public Area copyArea(Area A, String newName, boolean savable)
{
final Area newArea=(Area)A.copyOf();
newArea.setName(newName);
if(savable)
CMLib.database().DBCreateArea(newArea);
else
CMLib.flags().setSavable(newArea, false);
CMLib.map().addArea(newArea);
final Map<String,String> altIDs=new Hashtable<String,String>();
for(final Enumeration<Room> e=A.getCompleteMap();e.hasMoreElements();)
{
Room room=e.nextElement();
synchronized(("SYNC"+room.roomID()).intern())
{
room=CMLib.map().getRoom(room);
final Room newRoom=(Room)room.copyOf();
newRoom.clearSky();
if(newRoom instanceof GridLocale)
((GridLocale)newRoom).clearGrid(null);
for(int d=Directions.NUM_DIRECTIONS()-1;d>=0;d--)
newRoom.rawDoors()[d]=null;
newRoom.setRoomID(newArea.getNewRoomID(room,-1));
newRoom.setArea(newArea);
if(savable)
CMLib.database().DBCreateRoom(newRoom);
else
CMLib.flags().setSavable(newRoom, false);
altIDs.put(room.roomID(),newRoom.roomID());
if(savable)
{
if(newRoom.numInhabitants()>0)
CMLib.database().DBUpdateMOBs(newRoom);
if(newRoom.numItems()>0)
CMLib.database().DBUpdateItems(newRoom);
}
}
}
for(final Enumeration<Room> e=A.getCompleteMap();e.hasMoreElements();)
{
final Room room=e.nextElement();
final String altID=altIDs.get(room.roomID());
if(altID==null)
continue;
Room newRoom=CMLib.map().getRoom(altID);
if(newRoom==null)
continue;
synchronized(("SYNC"+newRoom.roomID()).intern())
{
newRoom=CMLib.map().getRoom(newRoom);
for(int d=Directions.NUM_DIRECTIONS()-1;d>=0;d--)
{
final Room R=room.rawDoors()[d];
String myRID=null;
if(R!=null)
myRID=altIDs.get(R.roomID());
Room myR=null;
if(myRID!=null)
myR=CMLib.map().getRoom(myRID);
newRoom.rawDoors()[d]=myR;
}
if(savable)
CMLib.database().DBUpdateExits(newRoom);
newRoom.getArea().fillInAreaRoom(newRoom);
}
}
if(!savable)
CMLib.map().delArea(newArea);
return newArea;
} |
cc78c535-f5e1-4900-9d80-de3d7bacfcab | public void mouseExited(MouseEvent e) {
} |
0bcadb6c-1a3b-4c10-9244-13b915a64774 | public void setCustomPickList86(crmondemand.xml.customobject6.query.QueryType customPickList86) {
this.customPickList86 = customPickList86;
} |
1ce00d87-8baa-4d55-8b28-0d92deb93dca | public java.lang.String getCustomPickList96() {
return this.customPickList96;
} |
2d0cd04b-7c25-42d1-8aef-e903016e6bdf | public void setLeadFirstName(java.lang.String leadFirstName) {
this.leadFirstName = leadFirstName;
} |
1b448598-3d85-4d87-877b-74f4db9dbddd | @Override
public String getContextName(Environmental E)
{
if(E instanceof Exit)
{
for(int e=0;e<exits.length;e++)
{
if(exits[e]==E)
{
if((this instanceof BoardableShip)||(this.getArea() instanceof BoardableShip))
return CMLib.directions().getShipDirectionName(e);
else
return CMLib.directions().getDirectionName(e);
}
}
return E.Name();
}
else
if(E instanceof MOB)
{
final String ctxName=CMLib.english().getContextName(inhabitants,E);
if(ctxName!=null)
return ctxName;
}
else
if(E instanceof Item)
{
final String ctxName=CMLib.english().getContextName(contents,E);
if(ctxName!=null)
return ctxName;
}
else
if(E!=null)
return E.name();
return "nothing";
} |
c0bb58ab-dda0-4b21-b881-16647c136735 | public java.math.BigDecimal getCustomNumber50() {
return this.customNumber50;
} |
4dc7726e-8397-46dd-a9a0-15384cd204c5 | public void setCustomBoolean7(java.lang.Boolean customBoolean7) {
this.customBoolean7 = customBoolean7;
} |
e0d6fab4-a5fc-4d8d-b784-6439612c93d9 | public void setProductIntegrationId(crmondemand.xml.contact.query.QueryType productIntegrationId) {
this.productIntegrationId = productIntegrationId;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.