Package com.cumulocity.me.model.audit

Examples of com.cumulocity.me.model.audit.Change


        json.putOpt(PROP_NEW_VALUE, (getConversionService().toJson(((Change)representation).getNewValue())));
        return json;
    }

    public Object fromJson(JSONObject json) {
        Change change = new Change();
        change.setAttribute(getString(json, PROP_ATTRIBUTE));
        change.setType(getString(json, PROP_TYPE));
        change.setPreviousValue(getObject(json, PROP_PREVIOUS_VALUE, Change.class));
        change.setNewValue(getObject(json, PROP_NEW_VALUE, Change.class));
        return change;
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.me.model.audit.Change

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.