Package org.hibernate.metamodel.source.binder

Examples of org.hibernate.metamodel.source.binder.ExplicitHibernateTypeSource


          }
        },
        bindingContext
    );

    this.typeSource = new ExplicitHibernateTypeSource() {
      @Override
      public String getName() {
        if ( elementElement.getTypeAttribute() != null ) {
          return elementElement.getTypeAttribute();
        }
View Full Code Here


  private final ExplicitHibernateTypeSource typeSource;
  private final List<RelationalValueSource> valueSources;

  PropertyAttributeSourceImpl(final JaxbPropertyElement propertyElement, LocalBindingContext bindingContext) {
    this.propertyElement = propertyElement;
    this.typeSource = new ExplicitHibernateTypeSource() {
      private final String name = propertyElement.getTypeAttribute() != null
          ? propertyElement.getTypeAttribute()
          : propertyElement.getType() != null
              ? propertyElement.getType().getName()
              : null;
View Full Code Here

  public SingularIdentifierAttributeSourceImpl(
      final JaxbHibernateMapping.JaxbClass.JaxbId idElement,
      LocalBindingContext bindingContext) {
    this.idElement = idElement;
    this.typeSource = new ExplicitHibernateTypeSource() {
      private final String name = idElement.getTypeAttribute() != null
          ? idElement.getTypeAttribute()
          : idElement.getType() != null
              ? idElement.getType().getName()
              : null;
View Full Code Here

    this.container = container;

    this.keySource = new PluralAttributeKeySourceImpl( pluralAttributeElement.getKey(), container );
    this.elementSource = interpretElementType();

    this.typeInformation = new ExplicitHibernateTypeSource() {
      @Override
      public String getName() {
        return pluralAttributeElement.getCollectionType();
      }
View Full Code Here

  private final ExplicitHibernateTypeSource typeSource;
  private final List<RelationalValueSource> valueSources;

  PropertyAttributeSourceImpl(final XMLPropertyElement propertyElement, LocalBindingContext bindingContext) {
    this.propertyElement = propertyElement;
    this.typeSource = new ExplicitHibernateTypeSource() {
      private final String name = propertyElement.getTypeAttribute() != null
          ? propertyElement.getTypeAttribute()
          : propertyElement.getType() != null
              ? propertyElement.getType().getName()
              : null;
View Full Code Here

    return SingularAttributeNature.BASIC;
  }

  @Override
  public ExplicitHibernateTypeSource getTypeInformation() {
    return new ExplicitHibernateTypeSource() {
      @Override
      public String getName() {
        return attribute.getExplicitHibernateTypeName();
      }
View Full Code Here

          }
        },
        bindingContext
    );

    this.typeSource = new ExplicitHibernateTypeSource() {
      @Override
      public String getName() {
        if ( elementElement.getTypeAttribute() != null ) {
          return elementElement.getTypeAttribute();
        }
View Full Code Here

  private final ExplicitHibernateTypeSource typeSource;
  private final List<RelationalValueSource> valueSources;

  PropertyAttributeSourceImpl(final JaxbPropertyElement propertyElement, LocalBindingContext bindingContext) {
    this.propertyElement = propertyElement;
    this.typeSource = new ExplicitHibernateTypeSource() {
      private final String name = propertyElement.getTypeAttribute() != null
          ? propertyElement.getTypeAttribute()
          : propertyElement.getType() != null
              ? propertyElement.getType().getName()
              : null;
View Full Code Here

  public SingularIdentifierAttributeSourceImpl(
      final JaxbHibernateMapping.JaxbClass.JaxbId idElement,
      LocalBindingContext bindingContext) {
    this.idElement = idElement;
    this.typeSource = new ExplicitHibernateTypeSource() {
      private final String name = idElement.getTypeAttribute() != null
          ? idElement.getTypeAttribute()
          : idElement.getType() != null
              ? idElement.getType().getName()
              : null;
View Full Code Here

    this.container = container;

    this.keySource = new PluralAttributeKeySourceImpl( pluralAttributeElement.getKey(), container );
    this.elementSource = interpretElementType();

    this.typeInformation = new ExplicitHibernateTypeSource() {
      @Override
      public String getName() {
        return pluralAttributeElement.getCollectionType();
      }
View Full Code Here

TOP

Related Classes of org.hibernate.metamodel.source.binder.ExplicitHibernateTypeSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.