Class PrimitiveOrValueType<T>

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object left,
                              java.lang.Object right)
        Description copied from class: JaversType
        Used for comparing as Values
        Overrides:
        equals in class JaversType
      • isNumber

        public boolean isNumber()
      • isBoolean

        public boolean isBoolean()
      • isStringy

        public boolean isStringy()
      • isJsonPrimitive

        public boolean isJsonPrimitive()
      • isInstance

        public boolean isInstance​(java.lang.Object cdo)
        Specified by:
        isInstance in class JaversType
      • 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.
      • getBaseJavaClass

        public java.lang.Class getBaseJavaClass()