Annotation Type VoDml


  • @Documented
    @Retention(RUNTIME)
    @Target({TYPE,FIELD})
    public @interface VoDml
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String id
      The VODML reference
      VodmlRole role
      the VODML role
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String type
      The type.
      VodmlRole typeRole
      the VODML role or the declared type.
    • Element Detail

      • id

        java.lang.String id
        The VODML reference
        Returns:
        a string with the VODML reference
      • role

        VodmlRole role
        the VODML role
        Returns:
        the role
      • type

        java.lang.String type
        The type. not needed if the role is such that the id is the same as the type.
        Returns:
        the type as a vodml reference
        Default:
        ""
      • typeRole

        VodmlRole typeRole
        the VODML role or the declared type. Only useful for attributes.
        Returns:
        the role
        Default:
        org.ivoa.vodml.annotation.VodmlRole.unknown