Examples of ExplicitHibernateTypeSource


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

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

  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

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

  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

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

    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

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

  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

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

    return SingularAttributeNature.BASIC;
  }

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

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

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

  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

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

  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

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

    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
Copyright © 2018 www.massapi.com. 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.