/** * Create an instance of {@link JaxbCollectionTable } * */ public JaxbCollectionTable createJaxbCollectionTable() { return new JaxbCollectionTable(); }
@Override public String getCatalog() { return table.getCatalog(); }
@Override public String getSchema() { return table.getSchema(); }
protected AnnotationInstance parserCollectionTable(JaxbCollectionTable collectionTable, AnnotationTarget target) { if ( collectionTable == null ) { return null; } DefaultConfigurationHelper.INSTANCE.applyDefaults( new SchemaAware.CollectionTableSchemaAware( collectionTable ), getDefaults() ); List<AnnotationValue> annotationValueList = new ArrayList<AnnotationValue>(); MockHelper.stringValue( "name", collectionTable.getName(), annotationValueList ); MockHelper.stringValue( "catalog", collectionTable.getCatalog(), annotationValueList ); MockHelper.stringValue( "schema", collectionTable.getSchema(), annotationValueList ); nestedJoinColumnList( "joinColumns", collectionTable.getJoinColumn(), annotationValueList ); nestedUniqueConstraintList( "uniqueConstraints", collectionTable.getUniqueConstraint(), annotationValueList ); return create( COLLECTION_TABLE, target, annotationValueList ); }
@Override public void setCatalog(String catalog) { table.setCatalog( catalog ); } }
@Override public void setSchema(String schema) { table.setSchema( schema ); }
protected AnnotationInstance parserCollectionTable(JaxbCollectionTable collectionTable, AnnotationTarget target) { if ( collectionTable == null ) { return null; } DefaultConfigurationHelper.INSTANCE.applyDefaults( new SchemaAware.CollectionTableSchemaAware( collectionTable ), getDefaults() ); List<AnnotationValue> annotationValueList = new ArrayList<AnnotationValue>(); MockHelper.stringValue( "name", collectionTable.getName(), annotationValueList ); MockHelper.stringValue( "catalog", collectionTable.getCatalog(), annotationValueList ); MockHelper.stringValue( "schema", collectionTable.getSchema(), annotationValueList ); nestedJoinColumnList( "joinColumns", collectionTable.getJoinColumn(), annotationValueList ); nestedUniqueConstraintList( "uniqueConstraints", collectionTable.getUniqueConstraint(), annotationValueList ); return create( COLLECTION_TABLE, target, annotationValueList ); }
@Override public void setCatalog(String catalog) { table.setCatalog( catalog ); } }
@Override public void setSchema(String schema) { table.setSchema( schema ); }
/** * Create an instance of {@link JaxbCollectionTable } * */ public JaxbCollectionTable createJaxbCollectionTable() { return new JaxbCollectionTable(); }
@Override public String getCatalog() { return table.getCatalog(); }
@Override public String getSchema() { return table.getSchema(); }