/** * Convenience methods that delegates to {@link DomainObjectContainer}. * * @see DomainObjectContainer#isValid(Object) */ protected boolean isValid(final Object domainObject) { return getContainer().isValid(domainObject); }
/** * Whether the object is in a valid state, that is that none of the * validation of properties, collections and object-level is vetoing. * * <p> * The method simply delegates to the {@link DomainObjectContainer}. * </p> * * @see #validate(Object) * @see DomainObjectContainer#isValid(Object) */ protected boolean isValid(final Object domainObject) { return getContainer().isValid(domainObject); }