com.metamatrix.modeler.core.metadata.runtime
Class MetadataConstants

java.lang.Object
  extended by com.metamatrix.modeler.core.metadata.runtime.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.


Nested Class Summary
static class MetadataConstants.COLUMN_SET_TYPES
          These types indicate the type of COLUMN_SET it is.
static class MetadataConstants.DATATYPE_TYPES
          A DataType object will be identified as being of one of these types.
static class MetadataConstants.DATATYPE_VARIETIES
          User defined DataType objects will be categorized by a variety The values must be kept consistent with the XSDVariety enumeration in the xsd metamodel and the values referenced in DatatypeVarietyEnumeration.properties in connector.metadata
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 is.
static class MetadataConstants.SEARCH_TYPES
          These types are associated with the Element having valid search types.
static class MetadataConstants.SQL_TRANSFORMATION_TYPES
          These types indicate the type of TRANSFORMATION it it.
static class MetadataConstants.TABLE_TYPES
          These types represent the type of table a Group is.
 
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
           
 
Constructor Summary
MetadataConstants()
           
 
Method Summary
static java.lang.String getColumnSetTypeName(short type)
           
static java.lang.String getDataTypeTypeName(short type)
           
static java.lang.String getDataTypeVarietyName(short type)
           
static java.lang.String getKeyTypeName(short type)
           
static java.lang.String getMatchTypeName(short type)
           
static java.lang.String getNullTypeName(short type)
           
static java.lang.String getParameterTypeName(short type)
           
static java.lang.String getProcedureTypeName(short type)
           
static java.lang.String getSearchTypeName(short type)
           
static java.lang.String getSqlTransformationTypeName(short type)
           
static java.lang.String getTableTypeName(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
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)

getColumnSetTypeName

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

getProcedureTypeName

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

getSqlTransformationTypeName

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

getParameterTypeName

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

getSearchTypeName

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

getDataTypeTypeName

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

getDataTypeVarietyName

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

getTableTypeName

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

getNullTypeName

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


Copyright © 2009. All Rights Reserved.