public void setExplicitType(Type typeAnn) { if ( typeAnn != null ) { explicitType = typeAnn.type(); typeParameters.clear(); for ( Parameter param : typeAnn.parameters() ) { typeParameters.setProperty( param.name(), param.value() ); } } }
simpleValue.setColumns( idColumns ); Type typeAnn = collectionIdAnn.type(); if ( typeAnn != null && !BinderHelper.isEmptyAnnotationValue( typeAnn.type() ) ) { simpleValue.setExplicitType( typeAnn );
public void setExplicitType(Type typeAnn) { if ( typeAnn != null ) { explicitType = typeAnn.type(); typeParameters.clear(); for (Parameter param : typeAnn.parameters()) { typeParameters.setProperty( param.name(), param.value() ); } } }
simpleValue.setColumns( idColumns ); Type typeAnn = collectionIdAnn.type(); if ( typeAnn != null && !BinderHelper.isDefault( typeAnn.type() ) ) { simpleValue.setExplicitType( typeAnn );
public void setExplicitType(Type typeAnn) { if ( typeAnn != null ) { explicitType = typeAnn.type(); typeParameters.clear(); for ( Parameter param : typeAnn.parameters() ) { typeParameters.setProperty( param.name(), param.value() ); } } }
public void setExplicitType(Type typeAnn) { if ( typeAnn != null ) { explicitType = typeAnn.type(); typeParameters.clear(); for ( Parameter param : typeAnn.parameters() ) { typeParameters.setProperty( param.name(), param.value() ); } } }
public void setExplicitType(Type typeAnn) { if ( typeAnn != null ) { explicitType = typeAnn.type(); typeParameters.clear(); for ( Parameter param : typeAnn.parameters() ) { typeParameters.setProperty( param.name(), param.value() ); } } }
/** * @see org.projectforge.continuousdb.TableAttributeHook#determineType(java.lang.reflect.AccessibleObject) */ @Override public TableAttributeType determineType(final AccessibleObject annotatedFieldOrMethod) { if (annotatedFieldOrMethod.isAnnotationPresent(org.hibernate.annotations.Type.class)) { final org.hibernate.annotations.Type annotation = annotatedFieldOrMethod.getAnnotation(org.hibernate.annotations.Type.class); final String typePropertyValue = annotation.type(); if ("binary".equals(typePropertyValue) == true) { return TableAttributeType.BINARY; } else if ("org.jadira.usertype.dateandtime.joda.PersistentPeriodAsString".equals(typePropertyValue) == true) { return TableAttributeType.VARCHAR; } else if ("org.jadira.usertype.dateandtime.joda.PersistentDateTime".equals(typePropertyValue) == true) { return TableAttributeType.TIMESTAMP; } } return null; } }
if (mapKeyAnn != null && ! BinderHelper.isDefault( mapKeyAnn.type().type() ) ) { elementBinder.setExplicitType( mapKeyAnn.type() );
public void setExplicitType(Type typeAnn) { setExplicitType( typeAnn.type() ); this.explicitLocalTypeParams = extractTypeParams( typeAnn.parameters() ); }
simpleValue.setColumns( idColumns ); Type typeAnn = collectionIdAnn.type(); if ( typeAnn != null && !BinderHelper.isEmptyAnnotationValue( typeAnn.type() ) ) { simpleValue.setExplicitType( typeAnn );
simpleValue.setColumns( idColumns ); Type typeAnn = collectionIdAnn.type(); if ( typeAnn != null && !BinderHelper.isEmptyAnnotationValue( typeAnn.type() ) ) { simpleValue.setExplicitType( typeAnn );
valueBinder.setColumns( idColumns ); Type typeAnn = collectionIdAnn.type(); if ( typeAnn != null && !BinderHelper.isEmptyAnnotationValue( typeAnn.type() ) ) { valueBinder.setExplicitType( typeAnn );
if ( mapKeyTypeAnnotation != null && !BinderHelper.isEmptyAnnotationValue( mapKeyTypeAnnotation.value() .type() ) ) { elementBinder.setExplicitType( mapKeyTypeAnnotation.value() );
if ( mapKeyTypeAnnotation != null && !BinderHelper.isEmptyAnnotationValue( mapKeyTypeAnnotation.value() .type() ) ) { elementBinder.setExplicitType( mapKeyTypeAnnotation.value() );