Package org.criticalfailure.torchlight.core.domain.entity.object

Examples of org.criticalfailure.torchlight.core.domain.entity.object.ObjectData.removeValue()


            // update object instance
            ObjectData od = encounter.getObjectInstance().getData().get("participants");
            logger.trace("od: " + od);
            if(od != null) {
                if(ep.getParticipant() instanceof BasicModelObject) {
                    od.removeValue("instance:" + ((BasicModelObject)ep.getParticipant()).getId());
                }
                else {
                    od.removeValue("label:" + ep.getLabel());
                }
View Full Code Here


            if(od != null) {
                if(ep.getParticipant() instanceof BasicModelObject) {
                    od.removeValue("instance:" + ((BasicModelObject)ep.getParticipant()).getId());
                }
                else {
                    od.removeValue("label:" + ep.getLabel());
                }

                // save
                doSave(null);
            }
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.