Package com.orchestranetworks.rest.annotation

# Annotation Interface Table

@Retention(RUNTIME) @Target(FIELD) public @interface Table
Annotation used to reference a schema table linked to a Data Transfer Object (DTO) field of type `ContentHolder`.

Usage:

     public final class CityDTO {

          @Table(
             dataModel = "urn:ebx:module:cities-module:/WEB-INF/ebx/schemas/cities.xsd",
             tablePath = "/root/Department")
           public ContentHolder department;

        }

See `SchemaLocation` for more information about EBX® specific URNs.

Since:
  6.0.0

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `String`
  `dataModel`
  The URN defining the location of the schema file.
  `String`
  `tablePath`
  The absolute `Path` of the table.

- ## Element Details

  - ### dataModel

    String dataModel
    The URN defining the location of the schema file.
    See Also:
      - `SchemaLocation.format()`

  - ### tablePath

    String tablePath
    The absolute `Path` of the table.