***  This class is subject to change   ***

com.sas.iquery.metadata.serverprop
Class ParameterType

java.lang.Object
  |
  +--com.sas.iquery.metadata.impl.IQModelImplUtilities
        |
        +--com.sas.iquery.metadata.serverprop.ParameterType
All Implemented Interfaces:
NamedObjectInterface

public class ParameterType
extends IQModelImplUtilities
implements NamedObjectInterface

Models parameter type information and contains constants for the different parameter types for the functions and operators that are recognized by SAS Query Services.

See Also:
Parameter

Field Summary
static List ALL_PARAMETER_TYPES
           
static ParameterType PARM_ANY
           
static ParameterType PARM_ANY_CHAR1_LITERAL
           
static ParameterType PARM_BITSTRING
           
static ParameterType PARM_BOOL_EXPR
           
static ParameterType PARM_CHAR
           
static ParameterType PARM_COUNT
           
static ParameterType PARM_DATE
           
static ParameterType PARM_DELIMITER
           
static ParameterType PARM_DIMENSION
           
static ParameterType PARM_DISTANCE
           
static ParameterType PARM_ENUMERATION
           
static ParameterType PARM_HIERARCHY
           
static ParameterType PARM_INDEX
           
static ParameterType PARM_INTERVAL_DT
           
static ParameterType PARM_INTERVAL_YM
           
static ParameterType PARM_LEVEL
           
static ParameterType PARM_LOGICAL
           
static ParameterType PARM_MEMBER
           
static ParameterType PARM_MEMBER_NAME
           
static ParameterType PARM_NUMERIC
           
static ParameterType PARM_OLAP_NUMERIC_EXPRESSION
           
static ParameterType PARM_OLAP_STRING_EXPRESSION
           
static ParameterType PARM_OLAP_VALUE_EXPRESSION
           
static ParameterType PARM_PATTERN
           
static ParameterType PARM_PERCENTAGE
           
static ParameterType PARM_SET
           
static ParameterType PARM_START
           
static ParameterType PARM_TIME
           
static ParameterType PARM_TIMESTAMP
           
static ParameterType PARM_TUPLE
           
static ParameterType PARM_UNQUOTED_CHAR
           
static ParameterType PARM_VALUE
           
 
Method Summary
 String getDescription()
          Returns a description for this object, typically for display purposes.
 String getLabel()
          Returns a label for this object, typically for display purposes.
 boolean isCompatibleWith(ExpressionInterface expr)
           
 int toExpressionType()
           
 String toString()
          Returns the label for this parameter type -- same as getLabel().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PARM_BITSTRING

public static final ParameterType PARM_BITSTRING

PARM_CHAR

public static final ParameterType PARM_CHAR

PARM_DATE

public static final ParameterType PARM_DATE

PARM_NUMERIC

public static final ParameterType PARM_NUMERIC

PARM_TIME

public static final ParameterType PARM_TIME

PARM_TIMESTAMP

public static final ParameterType PARM_TIMESTAMP

PARM_INTERVAL_YM

public static final ParameterType PARM_INTERVAL_YM

PARM_INTERVAL_DT

public static final ParameterType PARM_INTERVAL_DT

PARM_UNQUOTED_CHAR

public static final ParameterType PARM_UNQUOTED_CHAR

PARM_ANY

public static final ParameterType PARM_ANY

PARM_BOOL_EXPR

public static final ParameterType PARM_BOOL_EXPR

PARM_ANY_CHAR1_LITERAL

public static final ParameterType PARM_ANY_CHAR1_LITERAL

PARM_ENUMERATION

public static final ParameterType PARM_ENUMERATION

PARM_SET

public static final ParameterType PARM_SET

PARM_TUPLE

public static final ParameterType PARM_TUPLE

PARM_MEMBER

public static final ParameterType PARM_MEMBER

PARM_LEVEL

public static final ParameterType PARM_LEVEL

PARM_DIMENSION

public static final ParameterType PARM_DIMENSION

PARM_HIERARCHY

public static final ParameterType PARM_HIERARCHY

PARM_INDEX

public static final ParameterType PARM_INDEX

PARM_DISTANCE

public static final ParameterType PARM_DISTANCE

PARM_OLAP_NUMERIC_EXPRESSION

public static final ParameterType PARM_OLAP_NUMERIC_EXPRESSION

PARM_OLAP_STRING_EXPRESSION

public static final ParameterType PARM_OLAP_STRING_EXPRESSION

PARM_OLAP_VALUE_EXPRESSION

public static final ParameterType PARM_OLAP_VALUE_EXPRESSION

PARM_COUNT

public static final ParameterType PARM_COUNT

PARM_PERCENTAGE

public static final ParameterType PARM_PERCENTAGE

PARM_VALUE

public static final ParameterType PARM_VALUE

PARM_MEMBER_NAME

public static final ParameterType PARM_MEMBER_NAME

PARM_START

public static final ParameterType PARM_START

PARM_PATTERN

public static final ParameterType PARM_PATTERN

PARM_LOGICAL

public static final ParameterType PARM_LOGICAL

PARM_DELIMITER

public static final ParameterType PARM_DELIMITER

ALL_PARAMETER_TYPES

public static final List ALL_PARAMETER_TYPES
Method Detail

getLabel

public String getLabel()
Description copied from interface: NamedObjectInterface
Returns a label for this object, typically for display purposes.
Specified by:
getLabel in interface NamedObjectInterface
Following copied from interface: com.sas.iquery.metadata.NamedObjectInterface
Returns:
String A label or null if not set

getDescription

public String getDescription()
Description copied from interface: NamedObjectInterface
Returns a description for this object, typically for display purposes. A description is intended to provide a longer worded phrase than the label itself.
Specified by:
getDescription in interface NamedObjectInterface
Following copied from interface: com.sas.iquery.metadata.NamedObjectInterface
Returns:
A description or null if not set

toExpressionType

public int toExpressionType()

isCompatibleWith

public boolean isCompatibleWith(ExpressionInterface expr)

toString

public String toString()
Returns the label for this parameter type -- same as getLabel().
Overrides:
toString in class Object
Returns:
the label for this object.

***  This class is subject to change   ***




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 16:04:19