Package io.jmix.core.impl
Class EntityInternals
java.lang.Object
io.jmix.core.impl.EntityInternals
Used by enhancing process
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
EntityInternalspublic EntityInternals()
 
- 
- 
Method Details- 
toString
- 
equals
- 
hashCodeUsed by enhancing process as implementation ofhashCode()method for eachJmixEntitythat is notEmbeddable.
- 
fireListeners
- 
beforeWriteObjectpublic static void beforeWriteObject(Entity entity, ObjectOutputStream outputStream, @Nullable String generatedIdFieldName) throws IOException Hook to be invoked before entity serialization- Throws:
- IOException
 
- 
beforeReadObjectpublic static void beforeReadObject(Entity entity, ObjectInputStream inputStream, @Nullable String generatedIdFieldName) throws IOException, ClassNotFoundException Hook to be invoked before entity deserialization- Throws:
- IOException
- ClassNotFoundException
 
 
-