com.groiss.reporting.data
Class JoinPart
java.lang.Object
com.groiss.reporting.data.JoinPart
public class JoinPart
- extends java.lang.Object
a Joinpart is one part of a relation... holds an Entity and a Attribute...
- Author:
- gerald
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
JoinPart
public JoinPart(java.lang.String e,
java.lang.String a)
- public contructor
- Parameters:
e - - the entitya - - the attribute
JoinPart
public JoinPart(Entity e,
Attribute a)
JoinPart
public JoinPart(Entity e,
java.lang.String a)
getEntity
public java.lang.String getEntity()
getAttribute
public java.lang.String getAttribute()
getJoinString
public Pair getJoinString(java.lang.String prefix)
- Parameters:
prefix - - the alias name of the entity in the sql query
- Returns:
- - the correct sql syntax of this part of the join
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getAsDomElement
public org.jdom.Element getAsDomElement()
Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.