public static AttributePath parse(String path) { if ( path == null ) { return null; } AttributePath attributePath = new AttributePath(); for ( String part : path.split( "\\." ) ) { attributePath = attributePath.append( part ); } return attributePath; } }
@Override public AttributePath getAttributePathBase() { return pluralAttributeSource.getAttributePath().append( "element" ); }
@Override public AttributePath getAttributePathBase() { return pluralAttributeSource.getAttributePath().append( "key" ); }
this.rootEntitySource = rootEntitySource; this.sourceMappingDocument = sourceMappingDocument; this.attributePathBase = rootEntitySource.getAttributePathBase().append( "<IdClass>" ); this.attributeRoleBase = rootEntitySource.getAttributeRoleBase().append( "<IdClass>" );
private EmbeddedAttributeMappingAdapterAggregatedCompositeId( RootEntitySourceImpl rootEntitySource) { this.rootEntitySource = rootEntitySource; this.jaxbCompositeIdMapping = rootEntitySource.jaxbEntityMapping().getCompositeId(); this.idAttributeRole = rootEntitySource.getAttributeRoleBase().append( jaxbCompositeIdMapping.getName() ); this.idAttributePath = rootEntitySource.getAttributePathBase().append( jaxbCompositeIdMapping.getName() ); this.toolingHintContext = Helper.collectToolingHints( rootEntitySource.getToolingHintContext(), jaxbCompositeIdMapping ); }
this.relationalValueSources = Collections.singletonList( columnSource ); this.attributePath = rootEntitySource.getAttributePathBase().append( getName() ); this.attributeRole = rootEntitySource.getAttributeRoleBase().append( getName() );
this.attributePath = container.getAttributePathBase().append( pluralAttributeJaxbMapping.getName() );
this.naturalIdMutability = naturalIdMutability; this.attributePath = container.getAttributePathBase().append( jaxbAnyMapping.getName() ); this.attributeRole = container.getAttributeRoleBase().append( jaxbAnyMapping.getName() );
SingularAttributeSourceBasicImpl( MappingDocument sourceMappingDocument, AttributeSourceContainer container, final JaxbHbmBasicAttributeType propertyElement, final String logicalTableName, NaturalIdMutability naturalIdMutability) { super( sourceMappingDocument ); this.propertyElement = propertyElement; this.typeSource = new HibernateTypeSourceImpl( propertyElement ); this.naturalIdMutability = naturalIdMutability; this.relationalValueSources = RelationalValueSourceHelper.buildValueSources( sourceMappingDocument, logicalTableName, new BasicAttributeColumnsAndFormulasSource( propertyElement ) ); this.attributeRole = container.getAttributeRoleBase().append( getName() ); this.attributePath = container.getAttributePathBase().append( getName() ); this.toolingHintContext = Helper.collectToolingHints( container.getToolingHintContext(), propertyElement ); }
this.attributePath = container.getAttributePathBase().append( oneToOneElement.getName() );
this.attributePath = container.getAttributePathBase().append( getName() ); this.attributeRole = container.getAttributeRoleBase().append( getName() );
embeddedAttributeMapping.getName() ); final AttributePath path = container.getAttributePathBase().append( embeddedAttributeMapping.getName() );
); this.attributePath = rootEntitySource.getAttributePathBase().append( getName() ); this.attributeRole = rootEntitySource.getAttributeRoleBase().append( getName() );
final AttributePath attributePath = callback.getAttributeSourceContainer() .getAttributePathBase() .append( name );
IdentifierSourceNonAggregatedCompositeImpl(RootEntitySourceImpl rootEntitySource) { this.rootEntitySource = rootEntitySource; this.attributePathBase = rootEntitySource.getAttributePathBase().append( "<id>" ); this.attributeRoleBase = rootEntitySource.getAttributeRoleBase().append( "<id>" ); this.generatorDefinition = EntityHierarchySourceImpl.interpretGeneratorDefinition(
this.attributePath = container.getAttributePathBase().append( getName() ); this.attributeRole = container.getAttributeRoleBase().append( getName() );
this.attributePath = container.getAttributePathBase().append( name );
this.attributePath = container.getAttributePathBase().append( manyToOneElement.getName() );
mapKeyBinding, pluralAttributeSource.getAttributeRole().append( "key" ), pluralAttributeSource.getAttributePath().append( "key" ) ); collectionBinding.setIndex( mapKeyBinding );
elementBinding, getPluralAttributeSource().getAttributeRole().append( "element" ), getPluralAttributeSource().getAttributePath().append( "element" )