Package org.eclipse.sapphire.samples.sqlschema

Examples of org.eclipse.sapphire.samples.sqlschema.PrimaryKey


    protected String compute()
    {
        final Column column = context( Column.class );
        final Table table = column.nearest( Table.class );
       
        final PrimaryKey pk = table.getPrimaryKey().content();
       
        if( pk != null)
        {
            for( final PrimaryKey.Column pkcol : pk.getColumns() )
            {
                final String name = pkcol.getName().content();
               
                if( name != null && name.equals( column.getName().content() ) )
                {
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.samples.sqlschema.PrimaryKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.