Top Description Fields Constructors Methods
org.eclipse.persistence.internal.descriptors

public Class QueryArgument

extends TypedAssociation
Class Inheritance
Imports
org.eclipse.persistence.mappings.TypedAssociation

Purpose: Used to define the query argument mapping. This is used for the deployment XML mapping.

Author
James Sutherland
Since
OracleAS TopLink 10g (10.0.3)

Field Summary

Modifier and TypeField and Description
protected boolean
protected Class<?>
type

The type of the query argument

protected String
Inherited from org.eclipse.persistence.mappings.TypedAssociation:
keyTypevalueType

Constructor Summary

AccessConstructor and Description
public
QueryArgument()

Default constructor.

public
QueryArgument(String argumentName, Object value, Class<?> type)

Method Summary

Modifier and TypeMethod and Description
public Class<?>
public String
getTypeName()

INTERNAL: Return the classname of the type.

public boolean
public void
setNullable(boolean nullable)

public void
setType(Class<?> type)

public void
setTypeName(String typeName)

INTERNAL: Set the classname of the type.

Inherited from org.eclipse.persistence.mappings.TypedAssociation:
getKeyTypegetValueTypepostBuildsetKeyTypesetValueType

Field Detail

nullableback to summary
protected boolean nullable
typeback to summary
protected Class<?> type

The type of the query argument

typeNameback to summary
protected String typeName

Constructor Detail

QueryArgumentback to summary
public QueryArgument()

Default constructor.

QueryArgumentback to summary
public QueryArgument(String argumentName, Object value, Class<?> type)

Method Detail

getTypeback to summary
public Class<?> getType()
getTypeNameback to summary
public String getTypeName()

INTERNAL: Return the classname of the type.

isNullableback to summary
public boolean isNullable()
setNullableback to summary
public void setNullable(boolean nullable)
setTypeback to summary
public void setType(Class<?> type)
setTypeNameback to summary
public void setTypeName(String typeName)

INTERNAL: Set the classname of the type. This information will be used to avoid Mapping Workbench classpath dependencies by allowing the type to be set by classname instead of the class itself.