Class ManagedType

    • Method Detail

      • getRawDehydratedType

        protected java.lang.reflect.Type getRawDehydratedType()
        Type for JSON representation. For Values it's simply baseJavaType. For ManagedTypes (references to Entities and ValueObjects) it's GlobalId because JaVers serializes references in the 'dehydrated' form.
      • findProperty

        public java.util.Optional<JaversProperty> findProperty​(java.lang.String propertyName)
      • getProperties

        public java.util.List<JaversProperty> getProperties()
        unmodifiable list
      • forEachProperty

        public void forEachProperty​(java.util.function.Consumer<JaversProperty> consumer)
      • getPropertyNames

        public java.util.Set<java.lang.String> getPropertyNames()
      • isInstance

        public boolean isInstance​(java.lang.Object cdo)
        Specified by:
        isInstance in class JaversType
      • getBaseJavaClass

        public java.lang.Class getBaseJavaClass()