Package org.hibernate.metamodel.source.annotations.attribute

Examples of org.hibernate.metamodel.source.annotations.attribute.SimpleIdentifierSourceImpl


  public IdentifierSource getIdentifierSource() {
    IdType idType = getEntityClass().getIdType();
    switch ( idType ) {
      case SIMPLE: {
        BasicAttribute attribute = getEntityClass().getIdAttributes().iterator().next();
        return new SimpleIdentifierSourceImpl( attribute, getEntityClass().getAttributeOverrideMap() );
      }
      case COMPOSED: {
        throw new NotYetImplementedException( "Composed ids must still be implemented." );
      }
      case EMBEDDED: {
View Full Code Here


  public IdentifierSource getIdentifierSource() {
    IdType idType = getEntityClass().getIdType();
    switch ( idType ) {
      case SIMPLE: {
        BasicAttribute attribute = getEntityClass().getIdAttributes().iterator().next();
        return new SimpleIdentifierSourceImpl( attribute, getEntityClass().getAttributeOverrideMap() );
      }
      case COMPOSED: {
        break;
      }
      case EMBEDDED: {
View Full Code Here

  public IdentifierSource getIdentifierSource() {
    IdType idType = getEntityClass().getIdType();
    switch ( idType ) {
      case SIMPLE: {
        SimpleAttribute attribute = getEntityClass().getIdAttributes().iterator().next();
        return new SimpleIdentifierSourceImpl( attribute );
      }
      case COMPOSED: {
        break;
      }
      case EMBEDDED: {
View Full Code Here

TOP

Related Classes of org.hibernate.metamodel.source.annotations.attribute.SimpleIdentifierSourceImpl

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.