@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return underlyingType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return baseType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return ArrayHelper.join( discriminatorType.dictatedSizes( mapping ), identifierType.dictatedSizes( mapping ) ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[getColumnSpan( mapping )]; int soFar = 0; for ( Type propertyType : propertyTypes ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return requireIdentifierOrUniqueKeyType( mapping ).dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return super.getIdentifierOrUniqueKeyType( mapping ).dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[getColumnSpan( mapping )]; int soFar = 0; for ( Type propertyType : userType.getPropertyTypes() ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return baseType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return underlyingType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return underlyingType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return baseType.dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return ArrayHelper.join( metaType.dictatedSizes( mapping ), identifierType.dictatedSizes( mapping ) ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return ArrayHelper.join( metaType.dictatedSizes( mapping ), identifierType.dictatedSizes( mapping ) ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[ getColumnSpan( mapping ) ]; int soFar = 0; for ( Type propertyType : propertyTypes ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return super.getIdentifierOrUniqueKeyType( mapping ).dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[ getColumnSpan( mapping ) ]; int soFar = 0; for ( Type propertyType : propertyTypes ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return super.getIdentifierOrUniqueKeyType( mapping ).dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { return getIdentifierOrUniqueKeyType( mapping ).dictatedSizes( mapping ); }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[ getColumnSpan( mapping ) ]; int soFar = 0; for ( Type propertyType : userType.getPropertyTypes() ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }
@Override public Size[] dictatedSizes(Mapping mapping) throws MappingException { //Not called at runtime so doesn't matter if its slow :) final Size[] sizes = new Size[ getColumnSpan( mapping ) ]; int soFar = 0; for ( Type propertyType : userType.getPropertyTypes() ) { final Size[] propertySizes = propertyType.dictatedSizes( mapping ); System.arraycopy( propertySizes, 0, sizes, soFar, propertySizes.length ); soFar += propertySizes.length; } return sizes; }