/** * Create an instance of {@link JaxbAttributeOverride } * */ public JaxbAttributeOverride createJaxbAttributeOverride() { return new JaxbAttributeOverride(); }
private AnnotationInstance parserAttributeOverride(JaxbAttributeOverride attributeOverride, AnnotationTarget target) { if ( attributeOverride == null ) { return null; } List<AnnotationValue> annotationValueList = new ArrayList<AnnotationValue>(); MockHelper.stringValue( "name", attributeOverride.getName(), annotationValueList ); if ( attributeOverride instanceof JaxbAttributeOverrideProxy ) { JaxbAttributeOverrideProxy proxy = (JaxbAttributeOverrideProxy) attributeOverride; MockHelper.addToCollectionIfNotNull( annotationValueList, proxy.getColumnAnnotationValue() ); } else { MockHelper.nestedAnnotationValue( "column", parserColumn( attributeOverride.getColumn(), null ), annotationValueList ); } return create( ATTRIBUTE_OVERRIDE, target, annotationValueList ); }
names.add( attributeOverride.getName() );
private AnnotationInstance parserAttributeOverride(JaxbAttributeOverride attributeOverride, AnnotationTarget target) { if ( attributeOverride == null ) { return null; } List<AnnotationValue> annotationValueList = new ArrayList<AnnotationValue>(); MockHelper.stringValue( "name", attributeOverride.getName(), annotationValueList ); if ( attributeOverride instanceof JaxbAttributeOverrideProxy ) { JaxbAttributeOverrideProxy proxy = (JaxbAttributeOverrideProxy) attributeOverride; MockHelper.addToCollectionIfNotNull( annotationValueList, proxy.getColumnAnnotationValue() ); } else { MockHelper.nestedAnnotationValue( "column", parserColumn( attributeOverride.getColumn(), null ), annotationValueList ); } return create( ATTRIBUTE_OVERRIDE, target, annotationValueList ); }
names.add( attributeOverride.getName() );
/** * Create an instance of {@link JaxbAttributeOverride } * */ public JaxbAttributeOverride createJaxbAttributeOverride() { return new JaxbAttributeOverride(); }