Package bbd.jportal2
Class Link
- java.lang.Object
-
- bbd.jportal2.Link
-
- All Implemented Interfaces:
Serializable
public class Link extends Object implements Serializable
Foreign keys used in database- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Link()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector<String>getFields()StringgetFirstLinkField()StringgetFullName()Vector<String>getLinkFields()StringgetLinkName()StringgetName()Vector<String>getOptions()StringgetSchema()booleanhasField(String s)voidreader(DataInputStream ids)StringreplaceAll(String haystack, String needle, String replacement)StringuseName()If there is an alias uses that else returns namevoidwriter(DataOutputStream ods)
-
-
-
Method Detail
-
reader
public void reader(DataInputStream ids) throws IOException
- Throws:
IOException
-
writer
public void writer(DataOutputStream ods) throws IOException
- Throws:
IOException
-
hasField
public boolean hasField(String s)
-
useName
public String useName()
If there is an alias uses that else returns name
-
getSchema
public String getSchema()
-
getName
public String getName()
-
getFullName
public String getFullName()
-
getLinkName
public String getLinkName()
-
getFirstLinkField
public String getFirstLinkField()
-
-