FileDocCategorySizeDatePackage
XMLValidator.javaAPI DocGlassfish v2 API5835Tue May 22 16:54:30 BST 2007oracle.toplink.essentials.internal.ejb.cmp3.xml

XMLValidator

public class XMLValidator extends MetadataValidator
XML validator class.
author
Guy Pelletier
since
TopLink EJB 3.0 Reference Implementation

Fields Summary
Constructors Summary
public XMLValidator()
INTERNAL

Methods Summary
public voidthrowEmbeddedIdAndIdFound(java.lang.Class entityClass, java.lang.String attributeName, java.lang.String idAttributeName)
INTERNAL

        throw ValidationException.embeddedIdAndIdElementFound(entityClass, attributeName, idAttributeName);
    
public voidthrowErrorProcessingNamedQueryElement(java.lang.String queryName, java.lang.Exception exception)
INTERNAL

        throw ValidationException.errorProcessingNamedQueryElement(queryName, exception);
    
public voidthrowExcessiveJoinColumnsSpecified(java.lang.Class entityClass, java.lang.Object element)
INTERNAL

        throw ValidationException.excessiveJoinColumnElementsSpecified((String) element, entityClass);
    
public voidthrowExcessivePrimaryKeyJoinColumnsSpecified(java.lang.Class entityClass, java.lang.reflect.AnnotatedElement annotatedElement)
INTERNAL

        throw ValidationException.excessivePrimaryKeyJoinColumnElementsSpecified(entityClass);
    
public voidthrowIncompleteJoinColumnsSpecified(java.lang.Class entityClass, java.lang.Object element)
INTERNAL

        throw ValidationException.incompleteJoinColumnElementsSpecified(element, entityClass);
    
public voidthrowIncompletePrimaryKeyJoinColumnsSpecified(java.lang.Class entityClass, java.lang.reflect.AnnotatedElement annotatedElement)
INTERNAL

        throw ValidationException.incompletePrimaryKeyJoinColumnElementsSpecified(entityClass);
    
public voidthrowMultipleEmbeddedIdsFound(java.lang.Class entityClass, java.lang.String attributeName, java.lang.String embeddedIdAttributeName)
INTERNAL

        throw ValidationException.multipleEmbeddedIdElementsFound(entityClass, attributeName, embeddedIdAttributeName);
    
public voidthrowNoMappedByAttributeFound(java.lang.Class owningClass, java.lang.String owningAttributeName, java.lang.Class entityClass, java.lang.String attributeName)
INTERNAL

        // ignore, not applicable.
    
public voidthrowNoTemporalTypeSpecified(java.lang.Class entityClass, java.lang.String attributeName)
INTERNAL

        // WIP - copied from AnnotationsValidator ... might need to have its own ...
        throw ValidationException.noTemporalTypeSpecified(attributeName, entityClass);
    
public voidthrowPersistenceUnitMetadataConflict(java.lang.String element)
INTERNAL

        throw ValidationException.persistenceUnitMetadataConflict(element);
    
public voidthrowRelationshipHasColumnSpecified(java.lang.Class entityClass, java.lang.String attributeName)
INTERNAL

        throw ValidationException.invalidColumnElementOnRelationship(entityClass, attributeName);
    
public voidthrowSequenceGeneratorUsingAReservedName(java.lang.String document, java.lang.String reservedName)
INTERNAL:

        throw ValidationException.sequenceGeneratorUsingAReservedName(reservedName, document);
    
public voidthrowTableGeneratorUsingAReservedName(java.lang.String document, java.lang.String reservedName)
INTERNAL:

        throw ValidationException.tableGeneratorUsingAReservedName(reservedName, document);
    
public voidthrowUniDirectionalOneToManyHasJoinColumnSpecified(java.lang.String attributeName, java.lang.Class entityClass)
INTERNAL

        throw ValidationException.uniDirectionalOneToManyHasJoinColumnElements(attributeName, entityClass);