Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.infinispan.schematic
Interface SchemaLibrary.MismatchedTypeProblem

All Superinterfaces:
  SchemaLibrary.Problem

All Known Implementing Classes:
  ValidationTypeMismatchProblem

Enclosing interface:
  SchemaLibrary

    public static interface SchemaLibrary.MismatchedTypeProblem

extends SchemaLibrary.Problem

A special type of problem where a field value was not of the expected type, but where the field value could be converted to the expected type

Method Summary
`JsonSchema.Type` | `getActualType()`
`Object` | `getActualValue()` Get the actual field value.
`Object` | `getConvertedValue()` Get the converted field value that would satisfy the type expected by the schema.
`JsonSchema.Type` | `getExpectedType()`

Methods inherited from interface org.infinispan.schematic.SchemaLibrary.Problem
`getCause, getPath, getReason, getType`

Method Detail

### getActualValue

    Object getActualValue()

  Get the actual field value.

  Returns:
    the actual field value

### getConvertedValue

    Object getConvertedValue()

  Get the converted field value that would satisfy the type expected by the schema.

  Returns:
    the converted field value

### getActualType

    JsonSchema.Type getActualType()

### getExpectedType

    JsonSchema.Type getExpectedType()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.