com.redhat.persistence.metadata
Class SQLBlock

java.lang.Object
  extended bycom.redhat.persistence.metadata.SQLBlock

public class SQLBlock
extends Object

SQLBlock

Version:
$Revision: #5 $ $Date: 2004/04/07 $
Author:
Rafael H. Schloming <rhs@mit.edu>

Nested Class Summary
static class SQLBlock.Assign
           
 
Field Summary
static String versionId
           
 
Constructor Summary
SQLBlock(SQL sql)
           
 
Method Summary
 void addAssign(SQLToken begin, SQLToken end)
           
 void addMapping(Path path, Path column)
           
 void addType(Path path, int type)
           
 Collection getAssigns()
           
 Path getMapping(Path path)
           
 Collection getPaths()
           
 SQL getSQL()
           
 int getType(Path path)
           
 boolean hasMapping(Path path)
           
 boolean hasType(Path path)
           
 void removeMapping(Path path)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

SQLBlock

public SQLBlock(SQL sql)
Method Detail

getSQL

public SQL getSQL()

addAssign

public void addAssign(SQLToken begin,
                      SQLToken end)

getAssigns

public Collection getAssigns()

hasMapping

public boolean hasMapping(Path path)

addMapping

public void addMapping(Path path,
                       Path column)

removeMapping

public void removeMapping(Path path)

getMapping

public Path getMapping(Path path)

getPaths

public Collection getPaths()

hasType

public boolean hasType(Path path)

addType

public void addType(Path path,
                    int type)

getType

public int getType(Path path)

toString

public String toString()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC