public class ProfileFieldRule extends Object
| Constructor and Description |
|---|
ProfileFieldRule(boolean required,
boolean repeatable,
boolean recommended,
String description,
Set<String> values)
Constructor for a ProfileFieldRule.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Set<String> |
getValues() |
boolean |
isRecommended() |
boolean |
isRepeatable() |
boolean |
isRequired() |
String |
toString()
String representation of a ProfileFieldRule
|
public ProfileFieldRule(boolean required, boolean repeatable, boolean recommended, String description, Set<String> values)
required - boolean value stating if this rule is requiredrepeatable - boolean value allowing a field to be repeatedrecommended - boolean value stating if this rule is recommendeddescription - a text description of this rulevalues - a set of string values which a field is allowed to be set topublic boolean isRequired()
public boolean isRepeatable()
public boolean isRecommended()
public String getDescription()
Copyright © 2020. All rights reserved.