O.object()
Constructs a object implementing the StoreObjectMutable
interface.
function O.object([label, …])
Creates a mutable store object with no attributes. Any object refs passed in will be added to the label list of the object.
Example
Objects should have at least a type and a title. For example, to create a new book object:
var o = O.object(); o.appendType(T.Book); o.appendTitle("Animal Farm"); o.appendTitle("Animal Farm: A Fairy Story", Q.Alternative); o.append(authorObjectRef, A.Author); o.save();