Package org.tod.meta.variables.impl

Examples of org.tod.meta.variables.impl.LocalVariableImpl


        if (event instanceof IWriteEvent) {
            IWriteEvent write = (IWriteEvent)event;
            Object value = write.getValue();
            if (event instanceof LocalVariableWriteEvent) {
                LocalVariableWriteEvent local = (LocalVariableWriteEvent)event;
                return new LocalVariableImpl(session, local.getVariable(), value, local.getTimestamp());
            } else if (event instanceof FieldWriteEvent) {
                FieldWriteEvent field = (FieldWriteEvent)event;
                return new FieldVariableImpl(session, field.getField(), value, field.getTimestamp());
            }
        }
View Full Code Here


       
        return null;
    }
   
        public static Variable variableFromTOD(TODSession session, LocalVariableInfo local, Object value, long validTimestamp) {
            return new LocalVariableImpl(session, local, value, validTimestamp);
    }
View Full Code Here

TOP

Related Classes of org.tod.meta.variables.impl.LocalVariableImpl

Copyright © 2018 www.massapicom. 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.