Package io.jmix.core.impl
Class EntityInternals
java.lang.Object
io.jmix.core.impl.EntityInternals
Used by enhancing process
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
beforeReadObject
(Entity entity, ObjectInputStream inputStream, String generatedIdFieldName) Hook to be invoked before entity deserializationstatic void
beforeWriteObject
(Entity entity, ObjectOutputStream outputStream, String generatedIdFieldName) Hook to be invoked before entity serializationstatic boolean
static void
fireListeners
(Entity entity, String property, Object prevValue, Object newValue) static int
Used by enhancing process as implementation ofhashCode()
method for eachJmixEntity
that is notEmbeddable
.static String
-
Constructor Details
-
EntityInternals
public EntityInternals()
-
-
Method Details
-
toString
-
equals
-
hashCode
Used by enhancing process as implementation ofhashCode()
method for eachJmixEntity
that 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:
IOException
ClassNotFoundException
-