Backendless Support
 

Declararation minimum required properties in data classes

Backendless allows easy and rapid updating of data objects in the persistent storage (review the topic "Updating data objects in the persistent storage").

In short, it looks like this:

package com.mbaas.sample;
import java.util.Date;
public class Person
{
 public int age;
 public String name;
 public Date birthdate;
}

IMPORTANT: the class does not include any fields/properties for objectId , created or updated fields. 

Nevertheless, the call to save the updated object knew that it had been already stored in Backendless. 

This is possible as a result of the Backendless feature that allows a developer to declare any field or property which may be necessary for an app. 

NOTICE: the class neither implements any special interfaces nor extends any base Backendless classes - a pure data object class.
Is article helpful?