Package io.jmix.core.impl
Class EntityInternals
java.lang.Object
io.jmix.core.impl.EntityInternals
Used by enhancing process
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbeforeReadObject(Entity entity, ObjectInputStream inputStream, String generatedIdFieldName) Hook to be invoked before entity deserializationstatic voidbeforeWriteObject(Entity entity, ObjectOutputStream outputStream, String generatedIdFieldName) Hook to be invoked before entity serializationstatic booleanstatic voidfireListeners(Entity entity, String property, Object prevValue, Object newValue) static intUsed by enhancing process as implementation ofhashCode()method for eachJmixEntitythat is notEmbeddable.static String
-
Constructor Details
-
EntityInternals
public EntityInternals()
-
-
Method Details
-
toString
-
equals
-
hashCode
Used by enhancing process as implementation ofhashCode()method for eachJmixEntitythat is notEmbeddable. -
fireListeners
-
beforeWriteObject
public static void beforeWriteObject(Entity entity, ObjectOutputStream outputStream, @Nullable String generatedIdFieldName) throws IOException Hook to be invoked before entity serialization- Throws:
IOException
-
beforeReadObject
public static void beforeReadObject(Entity entity, ObjectInputStream inputStream, @Nullable String generatedIdFieldName) throws IOException, ClassNotFoundException Hook to be invoked before entity deserialization- Throws:
IOExceptionClassNotFoundException
-