/** * INTERNAL: * Allow for subclasses to perform validation. */ @Override public void validateBeforeInitialization(AbstractSession session) throws DescriptorException { if ((getFieldName() == null) || (getFieldName().length() == 0)) { session.getIntegrityChecker().handleError(DescriptorException.noFieldNameForMapping(this)); } }
/** * INTERNAL: * Allow for subclasses to perform validation. */ @Override public void validateBeforeInitialization(AbstractSession session) throws DescriptorException { if ((getFieldName() == null) || (getFieldName().length() == 0)) { session.getIntegrityChecker().handleError(DescriptorException.noFieldNameForMapping(this)); } }
/** * INTERNAL: * Allow for subclasses to perform validation. */ public void validateBeforeInitialization(AbstractSession session) throws DescriptorException { if ((getFieldName() == null) || (getFieldName().length() == 0)) { session.getIntegrityChecker().handleError(DescriptorException.noFieldNameForMapping(this)); } }