Class RightsRetentionStrategy

java.lang.Object
no.unit.nva.model.associatedartifacts.RightsRetentionStrategy
Direct Known Subclasses:
CustomerRightsRetentionStrategy, NullRightsRetentionStrategy, OverriddenRightsRetentionStrategy

public class RightsRetentionStrategy extends Object
The RightsRetentionStrategy interface represents the strategy for rights retention. It makes use of Jackson annotations to handle JSON serialization and deserialization into the correct implementing types: CustomerRightsRetentionStrategy, OverriddenRightsRetentionStrategy, and NullRightsRetentionStrategy.
  • Field Details

  • Constructor Details

    • RightsRetentionStrategy

      public RightsRetentionStrategy(String legalNote, Boolean followsPolicy)
  • Method Details

    • getFollowsPolicy

      public Boolean getFollowsPolicy()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getLegalNote

      public String getLegalNote()