java.lang.Object
org.eclipse.persistence.internal.xr.Parameter

public class Parameter extends Object

INTERNAL:Name and type (QName) for a bound argument.

Since:
EclipseLink 1.x
  • Field Details

    • name

      protected String name
    • type

      protected QName type
    • optional

      protected boolean optional
  • Constructor Details

    • Parameter

      public Parameter()
  • Method Details

    • getName

      public String getName()
      Returns:
      name of bound argument
    • setName

      public void setName(String name)
      Set name of bound argument
    • getType

      public QName getType()
      Returns:
      type (QName) of a bound argument
    • setType

      public void setType(QName type)
      Set type of bound argument
    • isOptional

      public boolean isOptional()
      Returns:
      indicates if the argument is optional
    • setOptional

      public void setOptional(boolean optional)
      Set the optional indicator
    • validate

      public void validate(XRServiceAdapter xrService, String operationName)