public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
cascadingMetaDataBuilder, constraints, source, typeArgumentConstraints
Constructor and Description |
---|
ConstrainedField(ConfigurationSource source,
Field field,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new field meta data object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Field |
getField() |
int |
hashCode() |
String |
toString() |
getCascadingMetaDataBuilder, getConstraints, getKind, getSource, getTypeArgumentConstraints, isConstrained, iterator
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ConstrainedField(ConfigurationSource source, Field field, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder)
source
- The source of meta data.field
- The represented field.constraints
- The constraints of the represented field, if any.typeArgumentConstraints
- Type arguments constraints, if any.cascadingMetaDataBuilder
- The cascaded validation metadata for this element and its container elements.public Field getField()
public String toString()
toString
in class AbstractConstrainedElement
public int hashCode()
hashCode
in class AbstractConstrainedElement
public boolean equals(Object obj)
equals
in class AbstractConstrainedElement
Copyright © 2021 JBoss by Red Hat. All rights reserved.