Class FieldForm<T>

    • Method Detail

      • field

        public abstract Field field()
      • key

        public abstract Value key()
      • cast

        public abstract T cast​(Item item,
                               T object)
        Description copied from class: Form
        Converts a structurally typed item into a nominally typed Java object based on the provided prototype object. The passed-in item is assumed to be non-null. The passed-in prototype object may be null.
        Overrides:
        cast in class Form<T>
      • cast

        public T cast​(Item item)
        Description copied from class: Form
        Converts a structurally typed item into a nominally typed Java object. The passed-in item is assumed to be non-null.
        Specified by:
        cast in class Form<T>