Class 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 Detail

      • type

        protected Class type
        The type of the query argument
      • typeName

        protected String typeName
      • nullable

        protected boolean nullable
    • Constructor Detail

      • QueryArgument

        public QueryArgument()
        Default constructor.
      • QueryArgument

        public QueryArgument​(String argumentName,
                             Object value,
                             Class type)
    • 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.