XStream
  1. XStream
  2. XSTR-568

There is no way override @XStreamOmitField in extended classes

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 1.3.1
    • Fix Version/s: None
    • Component/s: Annotations
    • Labels:
      None

      Description

      Once you add @XStreamOmitField annotation in super class there is no way to disable it in subclasses.

      For example:

      public abstract class DateSensitiveDataObject {

      @XStreamOmitField
      protected Date dateCreated;
      }

      public class SomeDataObject extends DateSensitiveDataObject {

      }

      If dateCreated is required in marshalled SomeDataObject there is no way to include it.

        People

        • Assignee:
          Jörg Schaible
          Reporter:
          Gedas Mitkus
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: