Class SubjectNameMappings

java.lang.Object
swiss.trustbroker.federation.xmlconfig.SubjectNameMappings
All Implemented Interfaces:
Serializable

public class SubjectNameMappings extends Object implements Serializable
Subject Name ID mappings.
See Also:
  • Constructor Details

    • SubjectNameMappings

      public SubjectNameMappings()
    • SubjectNameMappings

      public SubjectNameMappings(Boolean preserve, List<SubjectName> subjects)
      Creates a new SubjectNameMappings instance.
      Parameters:
      preserve - If true, do not overwrite nameId if differing from originalNameId (i.e. preserve changes done by scripts).
      Default: false
      subjects - List of mapping
      Since:
      1.7.0
  • Method Details

    • builder

    • getPreserve

      public Boolean getPreserve()
      If true, do not overwrite nameId if differing from originalNameId (i.e. preserve changes done by scripts).
      Default: false
      Since:
      1.7.0
    • getSubjects

      public List<SubjectName> getSubjects()
      List of mapping
    • setPreserve

      public void setPreserve(Boolean preserve)
      If true, do not overwrite nameId if differing from originalNameId (i.e. preserve changes done by scripts).
      Default: false
      Since:
      1.7.0
    • setSubjects

      public void setSubjects(List<SubjectName> subjects)
      List of mapping
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object