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
    The URN defining the location of the schema file.
    The absolute Path of the table.