public boolean isValid(Mapping mapping) throws MappingException { return getValue().isValid(mapping); }
public void validate(Mapping mapping) throws MappingException { super.validate( mapping ); assert getElement() != null : "IndexedCollection index not bound : " + getRole(); if ( !getIndex().isValid(mapping) ) { throw new MappingException( "collection index mapping has wrong number of columns: " + getRole() + " type: " + getIndex().getType().getName() ); } }
public void validate(Mapping mapping) throws MappingException { assert getKey() != null : "Collection key not bound : " + getRole(); assert getElement() != null : "Collection element not bound : " + getRole(); if ( !getKey().isValid( mapping ) ) { throw new MappingException( "collection foreign key mapping has wrong number of columns: " + getRole() + " type: " + getKey().getType().getName() ); } if ( !getElement().isValid( mapping ) ) { throw new MappingException( "collection element mapping has wrong number of columns: " + getRole() + " type: " + getElement().getType().getName() ); } checkColumnDuplication(); }
public boolean isValid(Mapping mapping) throws MappingException { return getValue().isValid(mapping); }
public boolean isValid() throws MappingException { return getValue().isValid(); }
public boolean isValid(Mapping mapping) throws MappingException { return getValue().isValid(mapping); }
public boolean isValid(Mapping mapping) throws MappingException { return getValue().isValid(mapping); }
public boolean isValid(Mapping mapping) throws MappingException { return getValue().isValid(mapping); }
public void validate(Mapping mapping) throws MappingException { super.validate(mapping); if ( !getIndex().isValid(mapping) ) { throw new MappingException( "collection index mapping has wrong number of columns: " + getRole() + " type: " + getIndex().getType().getName() ); } if ( indexNodeName!=null && !indexNodeName.startsWith("@") ) { throw new MappingException("index node must be an attribute: " + indexNodeName ); } }
public void validate(Mapping mapping) throws MappingException { super.validate(mapping); if ( !getIndex().isValid(mapping) ) { throw new MappingException( "collection index mapping has wrong number of columns: " + getRole() + " type: " + getIndex().getType().getName() ); } if ( indexNodeName!=null && !indexNodeName.startsWith("@") ) { throw new MappingException("index node must be an attribute: " + indexNodeName ); } }
public void validate(Mapping mapping) throws MappingException { super.validate(mapping); if ( !getIndex().isValid(mapping) ) { throw new MappingException( "collection index mapping has wrong number of columns: " + getRole() + " type: " + getIndex().getType().getName() ); } if ( indexNodeName!=null && !indexNodeName.startsWith("@") ) { throw new MappingException("index node must be an attribute: " + indexNodeName ); } }
public void validate(Mapping mapping) throws MappingException { super.validate(mapping); if ( !getIndex().isValid(mapping) ) { throw new MappingException( "collection index mapping has wrong number of columns: " + getRole() + " type: " + getIndex().getType().getName() ); } if ( indexNodeName!=null && !indexNodeName.startsWith("@") ) { throw new MappingException("index node must be an attribute: " + indexNodeName ); } }
+ getRole() ); if ( !getKey().isValid( mapping ) ) { throw new MappingException( "collection foreign key mapping has wrong number of columns: " + getKey().getType().getName() ); if ( !getElement().isValid( mapping ) ) { throw new MappingException( "collection element mapping has wrong number of columns: "
+ getKey().getType().getName() ); if ( !getElement().isValid( mapping ) ) { throw new MappingException( "collection element mapping has wrong number of columns: "
+ getKey().getType().getName() ); if ( !getElement().isValid( mapping ) ) { throw new MappingException( "collection element mapping has wrong number of columns: "
+ getKey().getType().getName() ); if ( !getElement().isValid( mapping ) ) { throw new MappingException( "collection element mapping has wrong number of columns: "
public void validate() throws MappingException { assert getKey() != null : "Collection key not bound : " + getRole(); assert getElement() != null : "Collection element not bound : " + getRole(); if ( !getKey().isValid() ) { throw new MappingException( "collection foreign key mapping has wrong number of columns: " + getRole() + " type: " + getKey().getJavaTypeMapping().getTypeName() ); } if ( !getElement().isValid() ) { throw new MappingException( "collection element mapping has wrong number of columns: " + getRole() + " type: " + getElement().getJavaTypeMapping().getTypeName() ); } checkColumnDuplication(); }