Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
SHIBUI-799 - refactor model
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0.0-BETA-RC5
- v2.0.0-BETA-R2
- v2.0.0-BETA-R1
- v1.18.0
- v1.17.4
- v1.17.3
- v1.17.2
- v1.17.1
- v1.17.0
- v1.16.0
- v1.15.2
- v1.15.1
- v1.15.0
- v1.14.0
- v1.13.3
- v1.13.2
- v1.13.1
- v1.13.0
- v1.12.0
- v1.11.1
- v1.11.0
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.1
- v1.8.0
- v1.7.0
- v1.7.0-RC2
- v1.7.0-RC1
- v1.6.4
- v1.6.4-SNAPSHOT
- v1.6.0
- v1.6.0-RC1
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-BETA-RC5
- 2.0.0-BETA-R2
- 2.0.0-BETA-R1
- 1.18.0
- 1.17.4
- 1.17.3
- 1.17.2
- 1.17.1
- 1.17.0
- 1.16.0
- 1.15.2
- 1.15.1
- 1.15.0
- 1.14.0
- 1.13.3
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.0
- 1.11.1
- 1.11.0
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.0
- 1.7.0-RC2
- 1.7.0-RC1
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.6.0-RC1
- 1.5.3
Showing
9 changed files
with
138 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
.../java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/NameIdFormatFilterTarget.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package edu.internet2.tier.shibboleth.admin.ui.domain.filters; | ||
|
||
import edu.internet2.tier.shibboleth.admin.ui.domain.AbstractAuditable; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
import javax.persistence.ElementCollection; | ||
import javax.persistence.Entity; | ||
import javax.persistence.OrderColumn; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Entity | ||
@EqualsAndHashCode(callSuper = true) | ||
@ToString | ||
public class NameIdFormatFilterTarget extends AbstractAuditable { | ||
|
||
public enum NameIdFormatFilterTargetType { | ||
ENTITY, CONDITION_SCRIPT, REGEX | ||
} | ||
|
||
private NameIdFormatFilterTargetType nameIdFormatFilterTargetType; | ||
|
||
public NameIdFormatFilterTargetType getNameIdFormatFilterTargetType() { | ||
return nameIdFormatFilterTargetType; | ||
} | ||
|
||
public void setNameIdFormatFilterTargetType(NameIdFormatFilterTargetType nameIdFormatFilterTargetType) { | ||
this.nameIdFormatFilterTargetType = nameIdFormatFilterTargetType; | ||
} | ||
|
||
@ElementCollection | ||
@OrderColumn | ||
private List<String> value; | ||
|
||
public List<String> getValue() { | ||
return value; | ||
} | ||
|
||
public void setSingleValue(String value) { | ||
List<String> values = new ArrayList<>(); | ||
values.add(value); | ||
this.value = values; | ||
} | ||
|
||
public void setValue(List<String> value) { | ||
this.value = value; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters