Module org.eclipse.persistence.core
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
Purpose: Used to define the query argument mapping. This is used for the deployment XML mapping.
- Since:
- OracleAS TopLink 10g (10.0.3)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected Class
<?> The type of the query argumentprotected String
Fields inherited from class org.eclipse.persistence.mappings.TypedAssociation
keyType, valueType
Fields inherited from class org.eclipse.persistence.mappings.Association
key, value
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.QueryArgument
(String argumentName, Object value, Class<?> type) -
Method Summary
Modifier and TypeMethodDescriptionClass
<?> getType()
INTERNAL: Return the classname of the type.boolean
void
setNullable
(boolean nullable) void
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
-
Field Details
-
type
The type of the query argument -
typeName
-
nullable
protected boolean nullable
-
-
Constructor Details
-
QueryArgument
public QueryArgument()Default constructor. -
QueryArgument
-
-
Method Details
-
isNullable
public boolean isNullable() -
setNullable
public void setNullable(boolean nullable) -
getType
-
getTypeName
INTERNAL: Return the classname of the type. -
setType
-
setTypeName
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.
-