|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.ssd.SSDFormat
public class SSDFormat
The SSDFormat class represents a format of a particular
semistructured datasource as a set of SSDPattern
s.
Constructor Summary | |
---|---|
SSDFormat(java.lang.String name)
|
Method Summary | |
---|---|
static SSDFormat |
createSSDFormat(java.lang.String name,
Schema s)
Create a SSDFormat |
SSDPattern |
createSSDPattern(Pattern p)
|
static boolean |
exists(int sid)
Returns true if the format for the specified schema identifier exists |
static boolean |
exists(java.lang.String ssdfName)
Returns true if the format for the specified ssdformat exists |
int |
getGroupNoByOBID(int obid)
|
java.lang.String |
getName()
|
int |
getOBIDBySPID(int spid)
|
java.util.Vector |
getPattern()
|
Schema |
getSchema()
|
int |
getSFID()
|
static int |
getSFID(java.lang.String name)
|
int |
getSPIDByOBID(int obid)
|
static SSDFormat |
getSSDFormat(int id)
|
static SSDFormat |
getSSDFormat(java.lang.String name)
|
static SSDFormat |
getSSDFormatBySchema(Schema s)
|
static java.lang.String |
getSSDFormatName(int id)
|
SSDPattern |
getSSDPatternBySPID(int spid)
|
int[] |
getSSDPatternIDs()
|
static void |
retract(java.lang.String name)
|
void |
setPatternToSchemaObject(SSDPattern sp,
SchemaObject sobj,
int gno)
|
void |
setSchema(Schema s)
|
void |
setSSDPattern(SSDPattern p)
|
void |
updateSSDPatterns()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSDFormat(java.lang.String name)
Method Detail |
---|
public static boolean exists(java.lang.String ssdfName)
ssdformatName
- A name of the semistructured data source formatpublic static boolean exists(int sid)
sid
- An identifier of the schemapublic void updateSSDPatterns() throws SSMDRException, java.sql.SQLException, java.io.IOException, DSRException
SSMDRException
java.sql.SQLException
java.io.IOException
DSRException
public static SSDFormat createSSDFormat(java.lang.String name, Schema s) throws SSMDRException, java.sql.SQLException, java.io.IOException, DSRException
name
- A name of the ssdformats
- A schema of a datasource that is represented by the ssdformat
SSMDRException
java.sql.SQLException
java.io.IOException
DSRException
public SSDPattern createSSDPattern(Pattern p)
public void setSSDPattern(SSDPattern p)
public void setSchema(Schema s) throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public void setPatternToSchemaObject(SSDPattern sp, SchemaObject sobj, int gno) throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public static void retract(java.lang.String name)
public static int getSFID(java.lang.String name)
public static SSDFormat getSSDFormatBySchema(Schema s)
public static java.lang.String getSSDFormatName(int id)
public int[] getSSDPatternIDs() throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public static SSDFormat getSSDFormat(java.lang.String name)
public static SSDFormat getSSDFormat(int id)
public SSDPattern getSSDPatternBySPID(int spid)
public int getSPIDByOBID(int obid) throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public int getOBIDBySPID(int spid) throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public int getGroupNoByOBID(int obid) throws SSMDRException, java.sql.SQLException, DSRException, java.io.IOException
SSMDRException
java.sql.SQLException
DSRException
java.io.IOException
public java.lang.String getName()
public int getSFID()
public Schema getSchema()
public java.util.Vector getPattern()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |