|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.ldap.SubLink
public class SubLink
Class for the connection of two class mappings. It is added to a ClassMapping by addSubLink. Specified are the name of a java class and the name of a link attribute (foreign key) There must exist a class mapping for the target class. The java class must map to a table where the link attribute holds the oid of the referring class as a foreign key.
Constructor Summary | |
---|---|
SubLink(java.lang.String className,
java.lang.String linkAtt)
Construct a new Sublink instance. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Return the target class name of this sublink. |
java.lang.String |
getLinkAtt()
Returns the name of the linking attribute |
void |
setClassName(java.lang.String className)
Set the class name for the target of this sublink. |
void |
setLinkAtt(java.lang.String linkAtt)
Set the attribute name of the linking attribute of this sublink. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubLink(java.lang.String className, java.lang.String linkAtt)
className
- the name of the linked java classlinkAtt
- the name of the linking attribute in the linked classMethod Detail |
---|
public void setClassName(java.lang.String className)
className
- the target class namepublic java.lang.String getClassName()
public void setLinkAtt(java.lang.String linkAtt)
linkAtt
- the name of the linking attributepublic java.lang.String getLinkAtt()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |