Annotation Type Transient


  • @Retention(RUNTIME)
    public @interface Transient
    The Transient annotation is an optional annotation that can be used within an XML class schema to mark a method or field as being transient, which indicates that it does not take part in serialization or deserialization. This is particularly useful when the Default annotation is applied to a class, as it indicates no default serialization is to be used.
    See Also:
    Default