Class QueryArgument
- java.lang.Object
-
- org.eclipse.persistence.mappings.Association
-
- org.eclipse.persistence.mappings.TypedAssociation
-
- org.eclipse.persistence.internal.descriptors.QueryArgument
-
- All Implemented Interfaces:
Map.Entry
public class QueryArgument extends TypedAssociation
Purpose: Used to define the query argument mapping. This is used for the deployment XML mapping.
- Since:
- OracleAS TopLink 10g (10.0.3)
- Author:
- James Sutherland
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
nullable
protected Class
type
The type of the query argumentprotected String
typeName
-
Fields inherited from class org.eclipse.persistence.mappings.TypedAssociation
keyType, valueType
-
Fields inherited from class org.eclipse.persistence.mappings.Association
key, value
-
-
Constructor Summary
Constructors Constructor Description QueryArgument()
Default constructor.QueryArgument(String argumentName, Object value, Class type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getType()
String
getTypeName()
INTERNAL: Return the classname of the type.boolean
isNullable()
void
setNullable(boolean nullable)
void
setType(Class type)
void
setTypeName(String typeName)
INTERNAL: Set the classname of the type.-
Methods inherited from class org.eclipse.persistence.mappings.TypedAssociation
getKeyType, getValueType, postBuild, setKeyType, setValueType
-
Methods inherited from class org.eclipse.persistence.mappings.Association
getKey, getValue, setKey, setValue
-
-
-
-
Method Detail
-
isNullable
public boolean isNullable()
-
setNullable
public void setNullable(boolean nullable)
-
getType
public Class getType()
-
getTypeName
public String getTypeName()
INTERNAL: Return the classname of the type.
-
setType
public void setType(Class type)
-
setTypeName
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.
-
-