APISonar


com.edgytech.umongo.EditObjectIdDialog.Item.time

> com > edgytech > umongo > EditObjectIdDialog > Item > time
com APIs edgytech APIs umongo APIs EditObjectIdDialog APIs Item APIs time APIs

Example 1
public void setValue(Object value) {
        ObjectId id = null;
        if (value instanceof DBRefBase) {
            DBRefBase ref = (DBRefBase) value;
            setStringFieldValue(Item.namespace, ref.getRef());
            id = (ObjectId) ref.getId();
        } else {
            id = (ObjectId) value;
        }
        setStringFieldValue(Item.string, id.toString());
        setIntFieldValue(Item.time, id._time());
        setIntFieldValue(Item.machine, id.getMachine());
        setIntFieldValue(Item.inc, id.getInc());
    }