IT. Expert System.

Java Standard Edition (SE)

Transient


java.beans

Annotation Type Transient



  • @Target(value=METHOD)
     @Retention(value=RUNTIME)
    public @interface Transient
    Indicates that an attribute called "transient" should be declared with the given value when the Introspector constructs a PropertyDescriptor or EventSetDescriptor classes associated with the annotated code element. A true value for the "transient" attribute indicates to encoders derived from Encoder that this feature should be ignored.

    The Transient annotation may be be used in any of the methods that are involved in a FeatureDescriptor subclass to identify the transient feature in the annotated class and its subclasses. Normally, the method that starts with "get" is the best place to put the annotation and it is this declaration that takes precedence in the case of multiple annotations being defined for the same feature.

    To declare a feature non-transient in a class whose superclass declares it transient, use @Transient(false). In all cases, the Introspector decides if a feature is transient by referring to the annotation on the most specific superclass. If no Transient annotation is present in any superclass the feature is not transient.

    Since:
    1.7
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      boolean value
      Returns whether or not the Introspector should construct artifacts for the annotated method.
    • Element Detail

      • value

        public abstract boolean value
        Returns whether or not the Introspector should construct artifacts for the annotated method.
        Returns:
        whether or not the Introspector should construct artifacts for the annotated method
        Default:
        true


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 253 / 158697762. Delta: 0.03249 с