I have a class called "Scheduler" which has 7 Boolean fields. I want to write a constraint in hibernate to check that at-least one boolean field is true.

Here is the "Scheduler" class. 

```
public class Scheduler {

private String description;

@NotNull
private Boolean sMondays;

@NotNull
private Boolean sTuesdays;

@NotNull
private Boolean sWednesdays;

@NotNull
private Boolean sThursdays;

@NotNull
private Boolean sFridays;

@NotNull
private Boolean sSaturdays;

@NotNull
private Boolean sSundays;

public Scheduler() {

}
}

```

Can anyone please help me in writing the mentioned constraint.

Thanks!!!!!!!!!