xdoclet.modules.caucho

Class ResinEjbTagsHandler

public class ResinEjbTagsHandler extends RelationTagsHandler

Template tags handler used by resin-ejb.j and resin-relationships.j to add resin cmp-specific configuration (resin.ejb) to the standard deployment descriptor.

Author: Yoritaka Sakakura (yori@teardrop.org)

See Also: Resin CMP Configuration

UNKNOWN: June 5, 2002 namespace = "ResinEjb"

Method Summary
voidifHasLeftOrderBy(String template)
Evaluates the body if the left side of the relationship is many and the order-by parameter of the resinejb:relation method-level tag is defined.
voidifHasLeftSqlColumn(String template)
Evaluates the body if the left side of the relationship is single and the sql-column parameter of the resinejb:relation method-level tag is defined.
voidifHasRightOrderBy(String template)
Evaluates the body if the right side of the relationship is many and the order-by parameter of the resinejb:relation method-level tag is defined.
voidifHasRightSqlColumn(String template)
Evaluates the body if the right side of the relationship is single and the sql-column parameter of the resinejb:relation method-level tag is defined.
voidifHasSqlTable(String template)
Evaluates the body if either side of the current relation is many and the sql-table parameter of the resinejb:relation method-level tag is defined.
StringleftOrderBy()
Returns the order-by for the left side of the current relation, if applicable.
StringleftSqlColumn()
Returns the sql-column for the left side of the current relation, if applicable.
StringrightOrderBy()
Returns the order-by for the right side of the current relation, if applicable.
StringrightSqlColumn()
Returns the sql-column for the right side of the current relation, if applicable.
StringsignatureFromMethod()
Returns the signature of the current method in a form suitable for the /resinejb/enterprise-beans/entity/method/signature element.
StringsqlTable()
Returns the sql-table of the current relationship, if any.

Method Detail

ifHasLeftOrderBy

public void ifHasLeftOrderBy(String template)
Evaluates the body if the left side of the relationship is many and the order-by parameter of the resinejb:relation method-level tag is defined.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

ifHasLeftSqlColumn

public void ifHasLeftSqlColumn(String template)
Evaluates the body if the left side of the relationship is single and the sql-column parameter of the resinejb:relation method-level tag is defined.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

ifHasRightOrderBy

public void ifHasRightOrderBy(String template)
Evaluates the body if the right side of the relationship is many and the order-by parameter of the resinejb:relation method-level tag is defined.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

ifHasRightSqlColumn

public void ifHasRightSqlColumn(String template)
Evaluates the body if the right side of the relationship is single and the sql-column parameter of the resinejb:relation method-level tag is defined.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

ifHasSqlTable

public void ifHasSqlTable(String template)
Evaluates the body if either side of the current relation is many and the sql-table parameter of the resinejb:relation method-level tag is defined.

Parameters: template

Throws: XDocletException

UNKNOWN: type = "block"

leftOrderBy

public String leftOrderBy()
Returns the order-by for the left side of the current relation, if applicable.

Returns:

Throws: XDocletException

See Also: ifHasLeftOrderBy

UNKNOWN: type = "content"

leftSqlColumn

public String leftSqlColumn()
Returns the sql-column for the left side of the current relation, if applicable.

Returns:

Throws: XDocletException

See Also: ifHasLeftSqlColumn

UNKNOWN: type = "content"

rightOrderBy

public String rightOrderBy()
Returns the order-by for the right side of the current relation, if applicable.

Returns:

Throws: XDocletException

See Also: ifHasRightOrderBy

UNKNOWN: type = "content"

rightSqlColumn

public String rightSqlColumn()
Returns the sql-column for the right side of the current relation, if applicable.

Returns:

Throws: XDocletException

See Also: ifHasRightSqlColumn

UNKNOWN: type = "content"

signatureFromMethod

public String signatureFromMethod()
Returns the signature of the current method in a form suitable for the /resinejb/enterprise-beans/entity/method/signature element.

Returns:

Throws: XDocletException

UNKNOWN: type = "content"

sqlTable

public String sqlTable()
Returns the sql-table of the current relationship, if any.

Returns:

Throws: XDocletException

See Also: ifHasSqlTable

UNKNOWN: type = "content"