com.metamatrix.metadata.runtime.api
Class MetadataConstants

java.lang.Object
  extended by com.metamatrix.metadata.runtime.api.MetadataConstants

public final class MetadataConstants
extends java.lang.Object

MetadataConstants are all the constant values used to identify all the valid values for a multi-value attribute. All assigned short values start with 1. Therefore, when the get...TypeName(type) method is called, the method needs to subtract 1 from the argument. 2/28/06 VAH - commented out the statics that were no longer referenced so that no maintenanance is required in the future These variables have been moved to ResourceNameUtil.


Nested Class Summary
static class MetadataConstants.CAPABILITY_PROPERTY_NAMES
          These property names are used to set connector capability properties on a model.
static class MetadataConstants.DATATYPE_TYPES
          A DataType object will be identified as being of one of these types.
static class MetadataConstants.KEY_TYPES
          These types indicate the type of KEY it is.
static class MetadataConstants.MATCH_TYPES
          These types are associated with a KEY, indicating the type of matching that can be performed on it.
static class MetadataConstants.NULL_TYPES
          These types are associated with a DataType or an Element needing the indication of null types.
static class MetadataConstants.PARAMETER_TYPES
          These types indicate the type of PROCEDURE_PARAMETER it is.
static class MetadataConstants.PROCEDURE_TYPES
          These types indicate the type of PROCEDURE it it.
static class MetadataConstants.QUERY_PLAN_TYPES
          These types indicate the type of PROCEDURE it it.
static class MetadataConstants.QUERY_TYPES
           
static class MetadataConstants.SEARCH_TYPES
          These types are associated with the Element having valid search types.
static class MetadataConstants.SIMPLE_TYPES
          Simple Type constants
static class MetadataConstants.TABLE_TYPES
          These types represent the type of table a Group is.
static class MetadataConstants.VISIBILITY_TYPES
          Visibility type constants.
 
Field Summary
static java.lang.String BLANK
           
static int NOT_DEFINED_INT
          Definition of not defined int type.
static long NOT_DEFINED_LONG
          Definition of not defined long type.
static short NOT_DEFINED_SHORT
          Definition of not defined short type.
static java.lang.String VERSION_DATE
           
static java.lang.String[] VISIBILITY_TYPE_NAMES
           
 
Constructor Summary
MetadataConstants()
           
 
Method Summary
static short getDataTypeType(java.lang.String typeName)
           
static java.lang.String getDataTypeTypeName(short type)
           
static java.lang.String getKeyTypeName(short type)
           
static java.lang.String getMatchTypeName(short type)
           
static short getNullType(java.lang.String typeName)
           
static java.lang.String getNullTypeName(short type)
           
static short getParameterType(java.lang.String typeName)
           
static java.lang.String getParameterTypeName(short type)
           
static java.lang.String getProcedureTypeName(short type)
           
static short getProcType(java.lang.String typeName)
           
static short getQueryPlanType(java.lang.String typeName)
           
static java.lang.String getQueryPlanTypeName(short type)
           
static short getSearchType(java.lang.String typeName)
           
static java.lang.String getSearchTypeName(short type)
           
static java.lang.String getTableTypeName(short type)
           
static short getVisibilityType(java.lang.String typeName)
           
static java.lang.String getVisibilityTypeName(short type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_DEFINED_LONG

public static final long NOT_DEFINED_LONG
Definition of not defined long type.

See Also:
Constant Field Values

NOT_DEFINED_INT

public static final int NOT_DEFINED_INT
Definition of not defined int type.

See Also:
Constant Field Values

NOT_DEFINED_SHORT

public static final short NOT_DEFINED_SHORT
Definition of not defined short type.

See Also:
Constant Field Values

BLANK

public static final java.lang.String BLANK
See Also:
Constant Field Values

VERSION_DATE

public static final java.lang.String VERSION_DATE
See Also:
Constant Field Values

VISIBILITY_TYPE_NAMES

public static final java.lang.String[] VISIBILITY_TYPE_NAMES
Constructor Detail

MetadataConstants

public MetadataConstants()
Method Detail

getMatchTypeName

public static final java.lang.String getMatchTypeName(short type)

getKeyTypeName

public static final java.lang.String getKeyTypeName(short type)

getProcedureTypeName

public static final java.lang.String getProcedureTypeName(short type)

getProcType

public static short getProcType(java.lang.String typeName)

getQueryPlanTypeName

public static final java.lang.String getQueryPlanTypeName(short type)

getQueryPlanType

public static short getQueryPlanType(java.lang.String typeName)

getParameterTypeName

public static final java.lang.String getParameterTypeName(short type)

getParameterType

public static short getParameterType(java.lang.String typeName)

getSearchTypeName

public static final java.lang.String getSearchTypeName(short type)

getSearchType

public static final short getSearchType(java.lang.String typeName)

getDataTypeTypeName

public static final java.lang.String getDataTypeTypeName(short type)

getDataTypeType

public static short getDataTypeType(java.lang.String typeName)

getTableTypeName

public static final java.lang.String getTableTypeName(short type)

getNullTypeName

public static final java.lang.String getNullTypeName(short type)

getNullType

public static short getNullType(java.lang.String typeName)

getVisibilityTypeName

public static final java.lang.String getVisibilityTypeName(short type)

getVisibilityType

public static final short getVisibilityType(java.lang.String typeName)


Copyright © 2009. All Rights Reserved.