Examples of copyDataFrom()


Examples of org.apache.xindice.core.meta.MetaData.copyDataFrom()

                if (log.isInfoEnabled()) {
                    log.info(debugHeader() + "Set document meta " + id);
                }
                MetaSystemCollection metacol = getMetaSystemCollection();
                MetaData current = metacol.getDocumentMeta(this, id);
                current.copyDataFrom(meta);
                metacol.setDocumentMeta(this, id, current);
            }
        }
    }
View Full Code Here

Examples of org.apache.xindice.core.meta.MetaData.copyDataFrom()

                                      "Mismatch type of meta data for collection " + getCanonicalName());
            }

            MetaSystemCollection metacol = getMetaSystemCollection();
            MetaData current = metacol.getCollectionMeta(this);
            current.copyDataFrom(meta);
            metacol.setCollectionMeta(this, current);
        }
    }

    protected final void setCollectionRoot(File collectionRoot) {
View Full Code Here

Examples of org.apache.xindice.core.meta.MetaData.copyDataFrom()

            if (log.isInfoEnabled()) {
                log.info(debugHeader() + "Set document meta " + id);
            }
            MetaSystemCollection metacol = getMetaSystemCollection();
            MetaData current = metacol.getDocumentMeta(this, id);
            current.copyDataFrom(meta);
            metacol.setDocumentMeta(this, id, current);
        }
    }

    /**
 
View Full Code Here

Examples of pneumaticCraft.common.entity.item.EntityItemSpecial.copyDataFrom()

                ItemStack stack = ((EntityItem)event.entity).getEntityItem();
                if(!(event.entity instanceof EntityItemSpecial)) {
                    if(stack.getItem() == net.minecraft.init.Items.iron_ingot || stack.getItem() == Item.getItemFromBlock(net.minecraft.init.Blocks.iron_block)) {
                        EntityItemSpecial seedEntity = new EntityItemSpecial(event.world, stack.copy());
                        seedEntity.delayBeforeCanPickup = ((EntityItem)event.entity).delayBeforeCanPickup;
                        seedEntity.copyDataFrom(event.entity, true);
                        event.setCanceled(true);
                        stack.stackSize = 0; //Tinkers Construct fix, because tinkers invokes EntityItem#onCollideWithPlayer(EntityItem) without checking if the item entity is dead.
                        event.world.spawnEntityInWorld(seedEntity);
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.