public class RelationInfo extends CachedObjectPointer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHE_NAME |
Constructor and Description |
---|
RelationInfo(long id) |
RelationInfo(long uniqueId,
int tenantId,
java.lang.String name,
java.lang.String src,
java.lang.String dest,
java.lang.String sqlexpr,
java.lang.String cardinality,
java.lang.String dbjoinrequired)
Construct passing the name of the relationship, source object name, destination object name and
where clause to use.
|
RelationInfo(java.lang.String name,
java.lang.String src,
java.lang.String dest,
java.lang.String sqlexpr) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheName() |
java.lang.String |
getCardinality()
Get the cardinality.
|
boolean |
getDbJoinReq()
Get the value of "dbjoinrequired".
|
java.lang.String |
getDest()
Get the destination of the relationship
|
java.lang.String |
getName()
Get name of the realtionship
|
java.lang.String |
getSqlExpr()
Get the where clause used to build the relationship
|
java.lang.String |
getSrc()
Get the source of the relationship
|
RelationInfoBase |
getTypedReference() |
boolean |
isTenantOwned() |
java.lang.String |
toString()
Print out the relationship for debugging
|
getClonedInfo, getID, getParent, getReference, getReferenceForSet, isSameTenantAsReference, setID, setParent, setReference, setTenantReference
public static final java.lang.String CACHE_NAME
public RelationInfo(long id)
public RelationInfo(java.lang.String name, java.lang.String src, java.lang.String dest, java.lang.String sqlexpr)
public RelationInfo(long uniqueId, int tenantId, java.lang.String name, java.lang.String src, java.lang.String dest, java.lang.String sqlexpr, java.lang.String cardinality, java.lang.String dbjoinrequired)
public RelationInfoBase getTypedReference()
public java.lang.String getDest()
public java.lang.String getSrc()
public java.lang.String getName()
public java.lang.String getSqlExpr()
public java.lang.String getCardinality()
public boolean getDbJoinReq()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isTenantOwned()
public java.lang.String getCacheName()
getCacheName
in class CachedObjectPointer