public String getEntityName() { return component.getComponentClassName(); }
public String getClassName() { return component.getComponentClassName(); }
public ComponentPropertiesSource(ReflectionManager reflectionManager, Component component) { try { this.xclass = reflectionManager.classForName( component.getComponentClassName() ); } catch ( ClassLoadingException e ) { throw new MappingException( e ); } this.component = component; }
private Class<?> loadClass(Component component) { final String className = component.getComponentClassName(); return ReflectionTools.loadClass( className, mainGenerator.getClassLoaderService() ); }
protected Instantiator buildInstantiator(Component embeddable) { return new DynamicInstantiator( embeddable.getComponentClassName() ); } }
(SingularAttributeSourceBasic) attributeSource, new SimpleValue( sourceDocument, component.getTable() ), component.getComponentClassName() ); (SingularAttributeSourceEmbedded) attributeSource, new Component( sourceDocument, component ), component.getComponentClassName() ); (SingularAttributeSourceManyToOne) attributeSource, new ManyToOne( sourceDocument, component.getTable() ), component.getComponentClassName() ); (SingularAttributeSourceOneToOne) attributeSource, new OneToOne( sourceDocument, component.getTable(), component.getOwner() ), component.getComponentClassName() ); (SingularAttributeSourceAny) attributeSource, new Any( sourceDocument, component.getTable() ), component.getComponentClassName() );
propComponent.getComponentClassName(), mainGenerator.getClassLoaderService() );
public String getClassName() { return component.getComponentClassName(); }
public String getEntityName() { return component.getComponentClassName(); }
value.setTypeName( referencedValue.getTypeName() ); value.setTypeParameters( referencedValue.getTypeParameters() ); value.setComponentClassName( referencedValue.getComponentClassName() );
if ( component.getComponentClassName() == null ) { javaType = typeContext.getJpaBindableType();
sourceDocument, componentBinding, componentBinding.getComponentClassName(), attributeName, embeddedSource.getAttributeRole()
Iterator properties = component.getPropertyIterator(); Component indexComponent = new Component( getBuildingContext(), collection ); indexComponent.setComponentClassName( component.getComponentClassName() ); while ( properties.hasNext() ) { Property current = (Property) properties.next();
if ( propertyHolder.getPersistentClass().getIdentifier() != null ) { throw new AnnotationException( comp.getComponentClassName() + " must not have @Id properties when used as an @EmbeddedId: " + BinderHelper.getPath( propertyHolder, inferredData ) comp.getComponentClassName() + " has no persistent id property: " + BinderHelper.getPath( propertyHolder, inferredData )
componentId.setKey( true ); if ( rootClass.getIdentifier() != null ) { throw new AnnotationException( componentId.getComponentClassName() + " must not have @Id properties when used as an @EmbeddedId" ); throw new AnnotationException( componentId.getComponentClassName() + " has no persistent id property" );
component.getComponentClassName(), mainGenerator.getClassLoaderService() );
Iterator properties = component.getPropertyIterator(); Component indexComponent = new Component( collection ); indexComponent.setComponentClassName( component.getComponentClassName() );
public Object accept(Component component) { if(component.isDynamic()) { return null; //"java.util.Map"; (not an association) } return component.getComponentClassName(); } }
if ( propertyHolder.getPersistentClass().getIdentifier() != null ) { throw new AnnotationException( comp.getComponentClassName() + " must not have @Id properties when used as an @EmbeddedId: " + BinderHelper.getPath( propertyHolder, inferredData ) comp.getComponentClassName() + " has no persistent id property: " + BinderHelper.getPath( propertyHolder, inferredData )
componentId.setKey( true ); if ( rootClass.getIdentifier() != null ) { throw new AnnotationException( componentId.getComponentClassName() + " must not have @Id properties when used as an @EmbeddedId" ); throw new AnnotationException( componentId.getComponentClassName() + " has no persistent id property" );