Methods Summary |
---|
public void | throwBothFieldsAndPropertiesAnnotatedException(java.lang.Class javaClass)INTERNAL:
This exception should be used to report a case where both fields and
properties of a class are annotated.
throw ValidationException.bothFieldsAndPropertiesAnnotated(javaClass);
|
public void | throwCircularMappedByReferences(java.lang.Class cls1, java.lang.String attributeName1, java.lang.Class cls2, java.lang.String attributeName2)INTERNAL:
throw ValidationException.circularMappedByReferences(cls1, attributeName1, cls2, attributeName2);
|
public void | throwClassNotFoundWhileConvertingClassNames(java.lang.String className, java.lang.Exception exception)INTERNAL:
throw ValidationException.classNotFoundWhileConvertingClassNames(className, exception);
|
public void | throwConflictingAccessTypeInEmbeddable(java.lang.Class embeddableClass)INTERNAL:
This exception should be used to report a case where an embeddable
class is used by entity classes having conflicting access-type and
embeddable's access-type is determined by enclosing entity's access-type.
This is thrown to disallow different representation of the same
embeddable class.
throw ValidationException.conflictingAccessTypeForEmbeddable(embeddableClass);
|
public void | throwConflictingSequenceAndTableGeneratorsSpecified(java.lang.String name, java.lang.String sequenceGeneratorLocation, java.lang.String tableGeneratorLocation)INTERNAL:
throw ValidationException.conflictingSequenceAndTableGeneratorsSpecified(name, sequenceGeneratorLocation, tableGeneratorLocation);
|
public void | throwConflictingSequenceGeneratorsSpecified(java.lang.String name, java.lang.String location1, java.lang.String location2)INTERNAL:
throw ValidationException.conflictingSequenceGeneratorsSpecified(name, location1, location2);
|
public void | throwConflictingSequenceNameAndTablePkColumnValueSpecified(java.lang.String name, java.lang.String sequenceGeneratorLocation, java.lang.String tableGeneratorLocation)INTERNAL:
throw ValidationException.conflictingSequenceNameAndTablePkColumnValueSpecified(name, sequenceGeneratorLocation, tableGeneratorLocation);
|
public void | throwConflictingTableGeneratorsSpecified(java.lang.String name, java.lang.String location1, java.lang.String location2)INTERNAL:
throw ValidationException.conflictingTableGeneratorsSpecified(name, location1, location2);
|
public void | throwCouldNotFindMapKey(java.lang.String fieldOrPropertyName, java.lang.Class referenceClass, oracle.toplink.essentials.mappings.DatabaseMapping mapping)INTERNAL:
throw ValidationException.couldNotFindMapKey(fieldOrPropertyName, referenceClass, mapping);
|
public void | throwEmbeddedIdAndIdFound(java.lang.Class entityClass, java.lang.String attributeName, java.lang.String idAttributeName)INTERNAL:
throw ValidationException.embeddedIdAndIdAnnotationFound(entityClass, attributeName, idAttributeName);
|
public void | throwEmbeddedIdHasNoAttributes(java.lang.Class entityClass, java.lang.Class embeddableClass, java.lang.String accessType)INTERNAL:
This exception should be used to report a case where an entity uses
EmbeddedId, but there is no attribute specified in the embeddable class.
This is most likely caused by incorrect access-type of the embeddable
class.
throw ValidationException.embeddedIdHasNoAttributes(entityClass, embeddableClass, accessType);
|
public void | throwErrorProcessingNamedQueryAnnotation(java.lang.Class entityClass, java.lang.String name, java.lang.Exception exception)INTERNAL:
throw ValidationException.errorProcessingNamedQueryAnnotation(entityClass, name, exception);
|
public void | throwExcessiveJoinColumnsSpecified(java.lang.Class entityClass, java.lang.Object element)INTERNAL:
throw ValidationException.excessiveJoinColumnsSpecified((AnnotatedElement) element, entityClass);
|
public void | throwExcessivePrimaryKeyJoinColumnsSpecified(java.lang.Class entityClass, java.lang.reflect.AnnotatedElement element)INTERNAL:
throw ValidationException.excessivePrimaryKeyJoinColumnsSpecified(element);
|
public void | throwIncompleteJoinColumnsSpecified(java.lang.Class entityClass, java.lang.Object element)INTERNAL:
throw ValidationException.incompleteJoinColumnsSpecified((AnnotatedElement) element, entityClass);
|
public void | throwIncompletePrimaryKeyJoinColumnsSpecified(java.lang.Class entityClass, java.lang.reflect.AnnotatedElement annotatedElement)INTERNAL:
throw ValidationException.incompletePrimaryKeyJoinColumnsSpecified(annotatedElement);
|
public void | throwIncorrectOverridingOfAccessType(java.lang.Class javaClass, java.lang.String xmlAccessType, java.lang.String annotAccessType)INTERNAL:
This exception should be used to report a case where access-type that
is determined using XML is *different* from access-type determined
using annotations in the class.
throw ValidationException.incorrectOverridingOfAccessType(javaClass, xmlAccessType, annotAccessType);
|
public void | throwInvalidCallbackMethod(java.lang.Class listenerClass, java.lang.String methodName)INTERNAL:
throw ValidationException.invalidCallbackMethod(listenerClass, methodName);
|
public void | throwInvalidCollectionTypeForRelationship(java.lang.Class entityClass, java.lang.Class rawClass, java.lang.Object element)INTERNAL
throw ValidationException.invalidCollectionTypeForRelationship(entityClass, rawClass, element);
|
public void | throwInvalidCompositePKAttribute(java.lang.Class entityClass, java.lang.String pkClassName, java.lang.String attributeName, java.lang.reflect.Type expectedType, java.lang.reflect.Type type)INTERNAL:
throw ValidationException.invalidCompositePKAttribute(entityClass, pkClassName, attributeName, expectedType, type);
|
public void | throwInvalidCompositePKSpecification(java.lang.Class entityClass, java.lang.String idClassName)INTERNAL:
throw ValidationException.invalidCompositePKSpecification(entityClass, idClassName);
|
public void | throwInvalidEmbeddableAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class embeddedClass, java.lang.String embeddedAttributeName)INTERNAL:
throw ValidationException.invalidEmbeddableAttribute(embeddedClass, embeddedAttributeName, entityClass, attributeName);
|
public void | throwInvalidEmbeddedAttribute(java.lang.Class javaClass, java.lang.String attributeName, java.lang.Class embeddableClass)INTERNAL:
This exception should be used to report a case where the type of an
embedded field or property is not Embeddable.
throw ValidationException.invalidEmbeddedAttribute(javaClass, attributeName, embeddableClass);
|
public void | throwInvalidMappingEncountered(java.lang.Class entityClass, java.lang.Class targetClass)INTERNAL:
throw ValidationException.invalidMapping(entityClass, targetClass);
|
public void | throwInvalidOrderByValue(java.lang.Class entityClass, java.lang.String propertyOrFieldName, java.lang.Class referenceClass, java.lang.String attributeName)INTERNAL:
throw ValidationException.invalidOrderByValue(propertyOrFieldName, referenceClass, attributeName, entityClass);
|
public void | throwInvalidTypeForEnumeratedAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class referenceClass)INTERNAL:
throw ValidationException.invalidTypeForEnumeratedAttribute(attributeName, referenceClass, entityClass);
|
public void | throwInvalidTypeForLOBAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class referenceClass)INTERNAL:
throw ValidationException.invalidTypeForLOBAttribute(attributeName, referenceClass, entityClass);
|
public void | throwInvalidTypeForSerializedAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class referenceClass)INTERNAL:
throw ValidationException.invalidTypeForSerializedAttribute(attributeName, referenceClass, entityClass);
|
public void | throwInvalidTypeForTemporalAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class referenceClass)INTERNAL:
throw ValidationException.invalidTypeForTemporalAttribute(attributeName, referenceClass, entityClass);
|
public void | throwInvalidTypeForVersionAttribute(java.lang.Class entityClass, java.lang.String attributeName, java.lang.Class lockingType)INTERNAL:
throw ValidationException.invalidTypeForVersionAttribute(attributeName, lockingType, entityClass);
|
public void | throwMappingAnnotationsAppliedToTransientAttribute(java.lang.reflect.AnnotatedElement annotatedElement)INTERNAL:
throw ValidationException.mappingAnnotationsAppliedToTransientAttribute(annotatedElement);
|
public void | throwMappingFileNotFound(java.lang.String puName, java.lang.String mappingFile)INTERNAL:
This exception should be used when there is no mapping file found
found in class path.
throw ValidationException.mappingFileNotFound(puName, mappingFile);
|
public void | throwMultipleEmbeddedIdsFound(java.lang.Class entityClass, java.lang.String attributeName, java.lang.String embeddedIdAttributeName)INTERNAL:
throw ValidationException.multipleEmbeddedIdAnnotationsFound(entityClass, attributeName, embeddedIdAttributeName);
|
public void | throwNoCorrespondingSetterMethodDefined(java.lang.Class entityClass, java.lang.reflect.Method method)INTERNAL:
throw ValidationException.noCorrespondingSetterMethodDefined(entityClass, method);
|
public void | throwNoMappedByAttributeFound(java.lang.Class owningClass, java.lang.String owningAttributeName, java.lang.Class entityClass, java.lang.String attributeName)INTERNAL:
throw ValidationException.noMappedByAttributeFound(owningClass, owningAttributeName, entityClass, attributeName);
|
public void | throwNoPrimaryKeyAnnotationsFound(java.lang.Class entityClass)INTERNAL:
throw ValidationException.noPrimaryKeyAnnotationsFound(entityClass);
|
public void | throwNoTemporalTypeSpecified(java.lang.Class entityClass, java.lang.String attributeName)INTERNAL:
throw ValidationException.noTemporalTypeSpecified(attributeName, entityClass);
|
public void | throwNonEntityTargetInRelationship(java.lang.Class javaClass, java.lang.Class targetEntity, java.lang.reflect.AnnotatedElement annotatedElement)INTERNAL:
This exception should be used to report use of non-entity class as target
of a relationship.
throw ValidationException.nonEntityTargetInRelationship(javaClass, targetEntity, annotatedElement);
|
public void | throwNonUniqueEntityName(java.lang.String clsName1, java.lang.String clsName2, java.lang.String name)INTERNAL:
throw ValidationException.nonUniqueEntityName(clsName1, clsName2, name);
|
public void | throwNonUniqueMappingFileName(java.lang.String puName, java.lang.String mf)INTERNAL:
This exception should be used when there are multiple mapping files with
same name found in class path.
throw ValidationException.nonUniqueMappingFileName(puName, mf);
|
public void | throwOnlyOneGeneratedValueIsAllowed(java.lang.Class entityClass, java.lang.String existingField, java.lang.String otherField)INTERNAL:
throw ValidationException.onlyOneGeneratedValueIsAllowed(entityClass, existingField, otherField);
|
public void | throwRelationshipHasColumnSpecified(java.lang.Class entityClass, java.lang.String attributeName)INTERNAL:
throw ValidationException.invalidColumnAnnotationOnRelationship(entityClass, attributeName);
|
public void | throwSequenceGeneratorUsingAReservedName(java.lang.String location, java.lang.String reservedName)INTERNAL:
throw ValidationException.sequenceGeneratorUsingAReservedName(reservedName, location);
|
public void | throwTableGeneratorUsingAReservedName(java.lang.String location, java.lang.String reservedName)INTERNAL:
throw ValidationException.tableGeneratorUsingAReservedName(reservedName, location);
|
public void | throwTablePerClassInheritanceNotSupported(java.lang.Class cls)INTERNAL:
throw ValidationException.tablePerClassInheritanceNotSupported(cls);
|
public void | throwUnableToDetermineClassForField(java.lang.String attributeName, java.lang.Class entityClass)INTERNAL:
throw ValidationException.unableToDetermineClassForField(attributeName, entityClass);
|
public void | throwUnableToDetermineClassForProperty(java.lang.String attributeName, java.lang.Class entityClass)INTERNAL:
throw ValidationException.unableToDetermineClassForProperty(attributeName, entityClass);
|
public void | throwUnableToDetermineTargetEntity(java.lang.String attributeName, java.lang.Class entityClass)INTERNAL:
throw ValidationException.unableToDetermineTargetEntity(attributeName, entityClass);
|
public void | throwUniDirectionalOneToManyHasJoinColumnSpecified(java.lang.String attributeName, java.lang.Class entityClass)INTERNAL:
throw ValidationException.uniDirectionalOneToManyHasJoinColumnAnnotations(attributeName, entityClass);
|