ApiResourceProperty

com.google.api.server.spi.config

Annotation Type ApiResourceProperty



  • @Retention(value=RUNTIME)
    public @interface ApiResourceProperty
    Annotation for configuring bean properties for API resources.

    This annotation can be used on all parts of the definition of a property: the field, the accessor (getter), or the mutator (setter). However, it should only be used on one of the three; behavior for multiple annotations on one property is not defined.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      AnnotationBoolean ignored
      Whether or not the property represented by the annotated getter, setter or field should be ignored for the API.
      java.lang.String name
      The name that the property represented by the annotated getter, setter, or field should appear as in the API.
    • Element Detail

      • name

        public abstract java.lang.String name
        The name that the property represented by the annotated getter, setter, or field should appear as in the API.
        Default:
        ""
      • ignored

        public abstract AnnotationBoolean ignored
        Whether or not the property represented by the annotated getter, setter or field should be ignored for the API.
        Default:
        com.google.api.server.spi.config.AnnotationBoolean.UNSPECIFIED
本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Endpoints Frameworks for App Engine
需要協助嗎?請前往我們的支援網頁