Class AbstractPropertyCascadable<T extends Property>
java.lang.Object
org.hibernate.validator.internal.metadata.aggregated.AbstractPropertyCascadable<T>
- All Implemented Interfaces:
Cascadable
- Direct Known Subclasses:
FieldCascadable
,GetterCascadable
public abstract class AbstractPropertyCascadable<T extends Property>
extends Object
implements Cascadable
A
Cascadable
backed by a property of a Java bean.- Author:
- Gunnar Morling, Marko Bekhta
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface org.hibernate.validator.internal.metadata.facets.Cascadable
Cascadable.Builder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Appends this cascadable element to the given path.Returns the data type of this cascadable, e.g.Returns cascading metadata of this cascadable element.Returns the value of this cacadable from the given parent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.validator.internal.metadata.facets.Cascadable
getConstraintLocationKind
-
Method Details
-
getCascadableType
Description copied from interface:Cascadable
Returns the data type of this cascadable, e.g. the type of a bean property or the return type of a method.- Specified by:
getCascadableType
in interfaceCascadable
- Returns:
- This cascadable type.
-
getValue
Description copied from interface:Cascadable
Returns the value of this cacadable from the given parent.- Specified by:
getValue
in interfaceCascadable
-
appendTo
Description copied from interface:Cascadable
Appends this cascadable element to the given path.- Specified by:
appendTo
in interfaceCascadable
-
getCascadingMetaData
Description copied from interface:Cascadable
Returns cascading metadata of this cascadable element. Also contains the cascading metadata of the potential container element types.- Specified by:
getCascadingMetaData
in interfaceCascadable
-