@Test public void shouldNotBeAnArrayAfterConstruction() throws Exception { assertThat( this.resultSet.isArray( getTransaction() ), is( false ) ); }
@Override public boolean isArray( final UnitOfWork uow ) throws KException { final String value = getObjectProperty( uow, PropertyValueType.STRING, "getDataType", StandardDdlLexicon.DATATYPE_NAME ); if (StringUtils.isBlank( value )) { return false; } return ( value.indexOf( ARRAY_SUFFIX ) != -1 ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public boolean isArray( final UnitOfWork uow ) throws KException { final String value = getObjectProperty( uow, PropertyValueType.STRING, "getDataType", StandardDdlLexicon.DATATYPE_NAME ); if (StringUtils.isBlank( value )) { return false; } return ( value.indexOf( ARRAY_SUFFIX ) != -1 ); } }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public boolean isArray( final UnitOfWork uow ) throws KException { final String value = getObjectProperty( uow, PropertyValueType.STRING, "getDataType", StandardDdlLexicon.DATATYPE_NAME ); if (StringUtils.isBlank( value )) { return false; } return ( value.indexOf( ARRAY_SUFFIX ) != -1 ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public boolean isArray( final UnitOfWork uow ) throws KException { final String value = getObjectProperty( uow, PropertyValueType.STRING, "getDataType", StandardDdlLexicon.DATATYPE_NAME ); if (StringUtils.isBlank( value )) { return false; } return ( value.indexOf( ARRAY_SUFFIX ) != -1 ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); @Override String getDisplayString( final UnitOfWork transaction ); @Override Type getType( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override boolean isArray( final UnitOfWork uow ); @Override final void rename( final UnitOfWork transaction,
                              final String newName ); @Override void setArray( final UnitOfWork uow,
                          final boolean newArrayIndicator ); @Override void setDatatypeName( final UnitOfWork uow,
                                 final String newTypeName ); @Override void setType( final UnitOfWork uow,
                         final Type newType ); }
DataTypeResultSetImpl extends ResultSetColumnImpl implements DataTypeResultSet { @Override public boolean isArray( final UnitOfWork uow ) throws KException { final String value = getObjectProperty( uow, PropertyValueType.STRING, "getDataType", StandardDdlLexicon.DATATYPE_NAME ); if (StringUtils.isBlank( value )) { return false; } return ( value.indexOf( ARRAY_SUFFIX ) != -1 ); } DataTypeResultSetImpl( final UnitOfWork uow,
                                  final Repository repository,
                                  final String workspacePath ); @Override String getDisplayString( final UnitOfWork transaction ); @Override Type getType( final UnitOfWork uow ); @Override KomodoType getTypeIdentifier( final UnitOfWork uow ); @Override AbstractProcedure getParent( final UnitOfWork transaction ); @Override boolean isArray( final UnitOfWork uow ); @Override final void rename( final UnitOfWork transaction,
                              final String newName ); @Override void setArray( final UnitOfWork uow,
                          final boolean newArrayIndicator ); @Override void setDatatypeName( final UnitOfWork uow,
                                 final String newTypeName ); @Override void setType( final UnitOfWork uow,
                         final Type newType );  }