All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.runtime.domain.PersistentObject Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy