Documentation Home
MySQL Cluster API Developer Guide
Download this Manual
PDF (US Ltr) - 5.0Mb
PDF (A4) - 4.9Mb
EPUB - 1.9Mb
HTML Download (TGZ) - 1.9Mb
HTML Download (Zip) - 1.9Mb


4.3.2.3 Extension

Annotation for a non-standard extension.

4.3.2.3.1 Synopsis
 @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.METHOD}) @Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) public @interface Extension {
  public String vendorName ;
  public String key ;
  public String value ;
}

Figure 4.24 Extension Class

Extension Class

4.3.2.3.2 key

The key for the extension (required).

Parameters

return

the key

4.3.2.3.3 value

The value for the extension (required).

Parameters

return

the value

4.3.2.3.4 vendorName

Vendor that the extension applies to (required to make the key unique).

Parameters

return

the vendor


User Comments
Sign Up Login You must be logged in to post a comment.