Examples of AssociationAttribute


Examples of org.geomajas.layer.feature.attribute.AssociationAttribute

    featureInfo.setIdentifier(new PrimitiveAttributeInfo("id", "id", PrimitiveType.LONG));
    featureInfo.setAttributes(Collections.singletonList((AttributeInfo) textAttr));
    many.setFeature(featureInfo);
    Attribute<?> attr = converter.toDto(new Bean[] { new Bean("t1",1L), new Bean("t2",2L) }, many);
    Assert.assertTrue(attr instanceof AssociationAttribute);
    AssociationAttribute assoc = (AssociationAttribute)attr;
    List<AssociationValue> value = (List<AssociationValue>)assoc.getValue();
    value.get(0).getAttributes();
  }
View Full Code Here

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

        resolveEmbeddable( attributeName, attributeType );
        break;
      }
      // OneToOne, OneToMany, ManyToOne, ManyToMany
      default: {
        AssociationAttribute attribute = AssociationAttribute.createAssociationAttribute(
            attributeName,
            attributeType,
            attributeNature,
            accessTypeString,
            annotations,
View Full Code Here

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

        resolveEmbeddable( attributeName, attributeType );
        break;
      }
      // OneToOne, OneToMany, ManyToOne, ManyToMany
      default: {
        AssociationAttribute attribute = AssociationAttribute.createAssociationAttribute(
            attributeName,
            attributeType,
            attributeNature,
            accessTypeString,
            annotations,
View Full Code Here

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

      case EMBEDDED: {
        resolveEmbeddable( attributeName, type );
      }
      // TODO handle the different association types
      default: {
        AssociationAttribute attribute = AssociationAttribute.createAssociationAttribute(
            attributeName, type.getName(), attributeType, annotations
        );
        associationAttributeMap.put( attributeName, attribute );
      }
    }
View Full Code Here

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

      case EMBEDDED: {
        resolveEmbeddable( attributeName, type );
      }
      // TODO handle the different association types
      default: {
        AssociationAttribute attribute = AssociationAttribute.createAssociationAttribute(
            attributeName, type, attributeType, annotations
        );
        associationAttributeMap.put( attributeName, attribute );
      }
    }
View Full Code Here

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

        resolveEmbeddable( attributeName, attributeType );
        break;
      }
      // TODO handle the different association types
      default: {
        AssociationAttribute attribute = AssociationAttribute.createAssociationAttribute(
            attributeName,
            attributeType,
            attributeNature,
            accessTypeString,
            annotations,
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.