org.umlg.runtime.domain.PersistentObject Maven / Gradle / Ivy
package org.umlg.runtime.domain;
import java.io.Serializable;
import java.util.Map;
public interface PersistentObject extends Serializable {
Object getId();
String getUid();
String toJson(Boolean deep);
String toJsonWithoutCompositeParent(Boolean deep);
String toJson();
String toJsonWithoutCompositeParent();
String getMetaDataAsJson();
void fromJson(String json);
void fromJson(Map propertyMap);
void fromJsonDataTypeAndComposite(Map propertyMap);
void fromJsonNonCompositeOne(Map propertyMap);
void fromJsonNonCompositeRequiredMany(Map propertyMap);
void doBeforeCommit();
}