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
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.hibernate.validator.internal.metadata.facets.Cascadable
Cascadable.Builder -
Method Summary
Modifier and TypeMethodDescriptionvoidAppends 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, waitMethods inherited from interface org.hibernate.validator.internal.metadata.facets.Cascadable
getConstraintLocationKind
-
Method Details
-
getCascadableType
Description copied from interface:CascadableReturns the data type of this cascadable, e.g. the type of a bean property or the return type of a method.- Specified by:
getCascadableTypein interfaceCascadable- Returns:
- This cascadable type.
-
getValue
Description copied from interface:CascadableReturns the value of this cacadable from the given parent.- Specified by:
getValuein interfaceCascadable
-
appendTo
Description copied from interface:CascadableAppends this cascadable element to the given path.- Specified by:
appendToin interfaceCascadable
-
getCascadingMetaData
Description copied from interface:CascadableReturns cascading metadata of this cascadable element. Also contains the cascading metadata of the potential container element types.- Specified by:
getCascadingMetaDatain interfaceCascadable
-