public class TaskTemplateConstraints
extends java.lang.Object
implements java.io.Serializable
Describes constraints that apply to the template fields.
| Constructor and Description |
|---|
TaskTemplateConstraints() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<InvisibleFieldInfo> |
getInvisibleFields()
Lists the fields that are invisible to agents.
|
java.util.List<ReadOnlyFieldInfo> |
getReadOnlyFields()
Lists the fields that are read-only to agents, and cannot be edited.
|
java.util.List<RequiredFieldInfo> |
getRequiredFields()
Lists the fields that are required to be filled by agents.
|
int |
hashCode() |
void |
setInvisibleFields(java.util.Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
|
void |
setReadOnlyFields(java.util.Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
void |
setRequiredFields(java.util.Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TaskTemplateConstraints |
withInvisibleFields(java.util.Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
|
TaskTemplateConstraints |
withInvisibleFields(InvisibleFieldInfo... invisibleFields)
Lists the fields that are invisible to agents.
|
TaskTemplateConstraints |
withReadOnlyFields(java.util.Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
TaskTemplateConstraints |
withReadOnlyFields(ReadOnlyFieldInfo... readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
|
TaskTemplateConstraints |
withRequiredFields(java.util.Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
|
TaskTemplateConstraints |
withRequiredFields(RequiredFieldInfo... requiredFields)
Lists the fields that are required to be filled by agents.
|
public java.util.List<RequiredFieldInfo> getRequiredFields()
Lists the fields that are required to be filled by agents.
Lists the fields that are required to be filled by agents.
public void setRequiredFields(java.util.Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
requiredFields - Lists the fields that are required to be filled by agents.
public TaskTemplateConstraints withRequiredFields(RequiredFieldInfo... requiredFields)
Lists the fields that are required to be filled by agents.
Returns a reference to this object so that method calls can be chained together.
requiredFields - Lists the fields that are required to be filled by agents.
public TaskTemplateConstraints withRequiredFields(java.util.Collection<RequiredFieldInfo> requiredFields)
Lists the fields that are required to be filled by agents.
Returns a reference to this object so that method calls can be chained together.
requiredFields - Lists the fields that are required to be filled by agents.
public java.util.List<ReadOnlyFieldInfo> getReadOnlyFields()
Lists the fields that are read-only to agents, and cannot be edited.
Lists the fields that are read-only to agents, and cannot be edited.
public void setReadOnlyFields(java.util.Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.
public TaskTemplateConstraints withReadOnlyFields(ReadOnlyFieldInfo... readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
Returns a reference to this object so that method calls can be chained together.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.
public TaskTemplateConstraints withReadOnlyFields(java.util.Collection<ReadOnlyFieldInfo> readOnlyFields)
Lists the fields that are read-only to agents, and cannot be edited.
Returns a reference to this object so that method calls can be chained together.
readOnlyFields - Lists the fields that are read-only to agents, and cannot be edited.
public java.util.List<InvisibleFieldInfo> getInvisibleFields()
Lists the fields that are invisible to agents.
Lists the fields that are invisible to agents.
public void setInvisibleFields(java.util.Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
invisibleFields - Lists the fields that are invisible to agents.
public TaskTemplateConstraints withInvisibleFields(InvisibleFieldInfo... invisibleFields)
Lists the fields that are invisible to agents.
Returns a reference to this object so that method calls can be chained together.
invisibleFields - Lists the fields that are invisible to agents.
public TaskTemplateConstraints withInvisibleFields(java.util.Collection<InvisibleFieldInfo> invisibleFields)
Lists the fields that are invisible to agents.
Returns a reference to this object so that method calls can be chained together.
invisibleFields - Lists the fields that are invisible to agents.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object