Examples of DataType

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics
  • com.language.datatypes.DataType
  • com.opengamma.web.analytics.formatting.DataType
  • com.pogofish.jadt.ast.DataType
  • com.quantcomponents.core.model.DataType
  • com.rackspacecloud.blueflood.types.DataType
  • com.sogou.qadev.service.cynthia.bean.Field.DataType
  • com.topcoder.shared.problem.DataType
  • com.yfaces.component.DataType
  • de.fuberlin.wiwiss.d2rq.sql.types.DataType
    #chris>
  • edu.indiana.extreme.lead.metadata.DataType
  • ee.quest.widget.form.DataType
    @author Kaido Kalda
  • es.ipsa.atril.doc.user.DataType
  • gri.data.DataType
  • io.crate.types.DataType
  • liquibase.structure.core.DataType
  • net.canarymod.database.Column.DataType
  • net.opengis.wps10.DataType
    A representation of the model object 'Data Type'. Identifies the form of this input or output value, and provides supporting information.

    The following features are supported:

    @see net.opengis.wps10.Wps10Package#getDataType() @model extendedMetaData="name='DataType' kind='elementOnly'" @generated
  • net.sf.mpxj.DataType
  • net.sf.myway.gps.garmin.parser.DataType
    @author Andreas Beckers
  • nz.co.abrahams.asithappens.core.DataType
    Contains type information for a DataSets instance. @author mark
  • org.apache.airavata.model.workspace.experiment.DataType
  • org.apache.axis2.corba.idl.types.DataType
  • org.apache.cocoon.forms.datatype.Datatype
    A Datatype encapsulates the functionality for working with specific kinds of data like integers, deciamals or dates.

    I provides:

    Each datatype can be marked as an "arraytype". Currently, this only has an influence on the {@link #validate(Object,ExpressionContext)} method, which should in that case be passedan array of objects. See also {@link #isArrayType()}. @version $Id: Datatype.java 56581 2004-11-04 10:12:30Z sylvain $

  • org.apache.cocoon.woody.datatype.Datatype
    A Datatype encapsulates the functionality for working with specific kinds of data like integers, deciamals or dates.

    I provides:

    Each datatype can be marked as an "arraytype". Currently, this only has an influence on the {@link #validate} method, which should in that case be passedan array of objects. See also {@link #isArrayType}.

  • org.apache.empire.data.DataType
  • org.apache.tajo.common.TajoDataTypes.DataType
  • org.apache.tapestry.beaneditor.DataType
  • org.apache.tapestry5.beaneditor.DataType
    A mixin for a text field that allows for autocompletion of text fields. This is based on Prototype's autocompleter control.

    The mixin renders an (initially invisible) progress indicator after the field (it will also be after the error icon most fields render). The progress indicator is made visible during the request to the server. The mixin then renders a <div> that will be filled in on the client side with dynamically obtained selections.

    Multiple selection on the client is enabled by binding the tokens parameter (however, the mixin doesn't help split multiple selections up on the server, that is still your code's responsibility).

    The container is responsible for providing an event handler for event "providecompletions". The context will be the partial input string sent from the client. The return value should be an array or list of completions, in presentation order. I.e.

     String[] onProvideCompletionsFromMyField(String input) { return . . .; } 
  • org.apache.tuscany.api.annotation.DataType
  • org.apache.tuscany.sca.interfacedef.DataType
    Representation of the type of data associated with an operation. Data is represented in two forms: the physical form used by the runtime and a logical form used by the assembly. The physical form is a Java Type because the runtime is written in Java. This may be the same form used by the application but it may not; for example, an application that is performing stream processing may want a physical form such as an {@link java.io.InputStream InputStream} to semantically operate on applicationdata such as a purchase order. The logical description is that used by the assembly model and is an identifier into some well-known type space; examples may be a Java type represented by its Class or an XML type represented by its QName. Every data type may also contain metadata describing the expected data; for example, it could specify a preferred data binding technology or the size of a typical instance. @version $Rev: 941690 $ $Date: 2010-05-06 13:20:28 +0100 (Thu, 06 May 2010) $ @tuscany.spi.extension.asclient
  • org.apache.tuscany.spi.model.DataType
    Representation of the type of data associated with an operation. Data is represented in two forms: the physical form used by the runtime and a logical form used by the assembly. The physical form is a Java Type because the runtime is written in Java. This may be the same form used by the application but it may not; for example, an application that is performing stream processing may want a physical form such as an {@link java.io.InputStream InputStream} tosemantially operate on application data such as a purchase order. The logical description is that used by the assembly model and is an identifier into some well-known type space; examples may be a Java type represented by its Class or an XML type represented by its QName. Every data type may also contain metadata describing the expected data; for example, it could specify a preferred data binding technology or the size of a typical instance. @version $Rev: 453987 $ $Date: 2006-10-07 11:53:52 -0700 (Sat, 07 Oct 2006) $
  • org.applause.lang.applauseDsl.DataType
    A representation of the model object 'Data Type'. @see org.applause.lang.applauseDsl.ApplauseDslPackage#getDataType() @model @generated
  • org.caffinitas.mapper.core.codec.DataType
    Data types supported by cassandra.
  • org.data2semantics.platform.core.data.DataType
  • org.dbunit.dataset.datatype.DataType
    n.com/j2se/1.3/docs/guide/jdbc/getstart/mapping.html#table1">sun JDBC object mapping @author Manuel Laflamme @version $Revision: 1194 $
  • org.dmg.pmml.DataType
  • org.dmg.pmml._40.DATATYPE
    An implementation of the model object 'Vector Dictionary Type'.

    The following features are implemented:

    @generated
  • org.drools.core.process.core.datatype.DataType
    Abstract representation of a datatype.
  • org.drools.process.core.datatype.DataType
    Abstract representation of a datatype. @author Kris Verlaenen
  • org.eclipse.uml2.uml.DataType
  • org.enhydra.shark.xpdl.elements.DataType
  • org.eurekastreams.server.domain.gadgetspec.UserPrefDTO.DataType
  • org.formulacompiler.compiler.internal.expressions.DataType
  • org.h2.mvstore.type.DataType
    Parses an entry in a Java-style log file.
  • org.h2.value.DataType
    This class contains meta data information about data types, and can convert between Java objects and Values.
  • org.hibernate.metamodel.relational.Datatype
    Models a JDBC {@link java.sql.Types DATATYPE} @todo Do we somehow link this in with {@link org.hibernate.internal.util.jdbc.TypeInfo} ? @author Steve Ebersole
  • org.ibeans.api.DataType
  • org.jboss.dna.sequencer.ddl.datatype.DataType
    @author blafond
  • org.jmxdatamart.common.DataType
  • org.lealone.value.DataType
    This class contains meta data information about data types, and can convert between Java objects and Values.
  • org.locationtech.udig.style.sld.editor.raster.ValueFormatter.DataType
  • org.modeshape.sequencer.ddl.datatype.DataType
    A representation of SQL data types.
  • org.mule.api.transformer.DataType
    Defines a Java type associated with additional information about the data. This may be a mime type for the type or for collections, the collection item type can be stored with the collection type. @since 3.0.0
  • org.openengsb.core.edbi.jdbc.sql.DataType
    An SQL data type.
  • org.openhab.binding.tellstick.internal.JNA.DataType
  • org.openrdf.query.algebra.Datatype
    3.org/TR/rdf-sparql-query/#func-datatype">SPARQL Query Language for RDF. @author Arjohn Kampman
  • org.pentaho.metadata.model.concept.types.DataType
  • org.relaxng.datatype.Datatype
    Datatype object. This object has the following functionality:
    1. functionality to identify a class of character sequences. This is done through the isValid method.
    2. functionality to produce a "value object" from a character sequence and context information.
    3. functionality to test the equality of two value objects.
    This interface also defines the createStreamingValidator method, which is intended to efficiently support the validation of large character sequences. @author James Clark @author Kohsuke KAWAGUCHI
  • org.rhq.core.domain.measurement.DataType
  • org.slim3.gen.datastore.DataType
    The collection of constants of class. @author taedium @since 1.0.0
  • org.springframework.data.keyvalue.redis.connection.DataType
  • org.springframework.data.redis.connection.DataType
  • org.teiid.metadata.Datatype
  • org.thechiselgroup.choosel.core.client.resources.DataType
  • org.thechiselgroup.choosel.core.client.util.DataType
  • org.wijiscommons.ssaf.schema.search.DataType
  • quickdb.db.dbms.mysql.DataType
    @author Diego Sarmentero
  • rulesystem.ruleinput.RuleInputMetaData.DataType
  • tigase.xml.db.Types.DataType
  • ucar.ma2.DataType
  • uk.co.oliwali.HawkEye.DataType

  • Examples of org.eurekastreams.server.domain.gadgetspec.UserPrefDTO.DataType

                if (savedUserPrefs.size() > 0 && savedUserPrefs.containsKey("up_" + userPref.getName()))
                {
                    userPref.setDefaultValue(savedUserPrefs.get("up_" + userPref.getName()));
                }

                final DataType dataType = userPref.getDataType();
                final String inputId = userPrefPrefix + "_" + userPrefIndex;
                final String inputName = userPrefPrefix + "_up_" + userPref.getName();
                if (dataType == DataType.HIDDEN)
                {
                    sb.append("<input type=\"hidden\" id=\"").append(inputId).append("\" name=\"").append(inputName)
                            .append("\" value=\"").append(StringEscapeUtils.escapeHtml(userPref.getDefaultValue()))
                            .append("\" />");
                }
                else
                {
                    sb.append("<div class=\"input-area\"><div class=\"label-area\"><label class=\"label\">");
                    sb.append(userPref.getDisplayName());
                    sb.append("</label></div><div class=\"input-box\">");

                    if (dataType == DataType.ENUM)
                    {
                        sb.append("<select class=\"drop-down\" id=\"").append(inputId).append("\" name=\"")
                                .append(inputName).append("\">");
                        for (EnumValuePairDTO currentEnumValue : userPref.getOrderedEnumValues())
                        {
                            sb.append("<option value=\"").append(currentEnumValue.getValue()).append("\" ");
                            if (userPref.getDefaultValue().equals(currentEnumValue.getValue()))
                            {
                                sb.append("selected ");
                            }
                            sb.append(">").append(currentEnumValue.getDisplayValue()).append("</option>");
                        }
                        sb.append("</select>");
                    }
                    else if (dataType.name() == DataType.LIST.name()) // == LIST
                    {
                        // TODO: handle list here with a bunch of checkboxes.
                        logger.info("Handle user preferences type List");

                    }
                    else if (dataType.name() == DataType.BOOL.name()) // == BOOL
                    {
                        sb.append("<input type=\"checkbox\" class=\"checkbox\" id=\"").append(inputId).append("\" name=\"")
                                .append(inputName).append("\" ");
                        try
                        {
    View Full Code Here

    Examples of org.formulacompiler.compiler.internal.expressions.DataType

        // We need the type info to properly treat by-example criteria contained in strings.
        final ExpressionNodeForArrayReference tested = makeVertical( this.tested );
        TypeAnnotator.annotateExpr( tested );

        final FilterBuilder filterBuilder = new FilterBuilder();
        final DataType testedType = tested.getDataType();
        final ExpressionNode filter = filterBuilder.buildFilterByExample( 0, this.test, testedType );

        final ExpressionNodeForFoldDatabase apply;
        if (this.folded == null) {
          apply = new ExpressionNodeForFoldDatabase( this.fold, New.array( testedType ), this.colPrefix(), filter, 0,
              null, null, tested );
        }
        else {
          TypeAnnotator.annotateExpr( this.folded );
          final DataType foldedType = this.folded.getDataType();
          apply = new ExpressionNodeForFoldDatabase( this.fold, New.array( testedType, foldedType ), this.colPrefix(),
              filter, 1, null, null, vectorsToMatrix( tested, makeVertical( this.folded ) ) );
        }

        return filterBuilder.encloseFoldInLets( apply );
    View Full Code Here

    Examples of org.h2.mvstore.type.DataType

            map = new MultiGenerationMap<K, V>();
        }
       
        @Override
        public void addGeneration(int generation, boolean readOnly) {
            DataType keyType = new KeyDataType(type);
            DataType valueType = new ValueDataType(docNodeStore, docStore, type);
            MVMapConcurrent.Builder<K, V> b = new MVMapConcurrent.Builder<K, V>().
                    keyType(keyType).valueType(valueType);
            String mapName = type.name();
            Map<K, V> m = cache.openMap(generation, mapName, b);
            map.addReadMap(generation, m);
    View Full Code Here

    Examples of org.h2.value.DataType

                Expression expr = expressions.get(i);
                int type = expr.getType();
                String name = expr.getAlias();
                long precision = expr.getPrecision();
                int displaySize = expr.getDisplaySize();
                DataType dt = DataType.getDataType(type);
                if (precision > 0 && (dt.defaultPrecision == 0 ||
                        (dt.defaultPrecision > precision && dt.defaultPrecision < Byte.MAX_VALUE))) {
                    // dont' set precision to MAX_VALUE if this is the default
                    precision = dt.defaultPrecision;
                }
    View Full Code Here

    Examples of org.hibernate.metamodel.relational.Datatype

         if ( SimpleValue.class.isInstance( value ) ) {
           SimpleValue simpleValue = ( SimpleValue ) value;
           if ( simpleValue.getDatatype() == null ) {
             simpleValue.setDatatype(
                 new Datatype(
                     resolvedHibernateType.sqlTypes( metadata )[0],
                     resolvedHibernateType.getName(),
                     resolvedHibernateType.getReturnedClass()
                 )
             );
    View Full Code Here

    Examples of org.ibeans.api.DataType

    //        {
    //            return helper.getReturnType();
    //        }
    //        else
            {
                DataType type = ctx.getIBeanConfig().getReturnType();
                if(type==null)
                {
                    type = ctx.getIBeanDefaultConfig().getReturnType();
                }
                return type;
    View Full Code Here

    Examples of org.jboss.dna.sequencer.ddl.datatype.DataType

            assert tokens != null;
            assert tableNode != null;

            tokens.canConsume("COLUMN");
            String columnName = parseName(tokens);
            DataType datatype = getDatatypeParser().parse(tokens);

            AstNode columnNode = nodeFactory().node(columnName, tableNode, TYPE_COLUMN_DEFINITION);

            getDatatypeParser().setPropertiesOnNode(columnNode, datatype);
    View Full Code Here

    Examples of org.jmxdatamart.common.DataType

              Map<Attribute, Object> resultSoFar) {
        if (curr == null) {
          logger.error("Null pointer in MX chain at " + currName);
          return;
        } else if (currDepth == total) {
          DataType dt = getSupportedDataType(curr);
          if (dt == null) {
            if (curr.getClass().isArray()) {
              int len = Array.getLength(curr);
              if (len > 0) {
                StringBuilder sb = new StringBuilder(enclose(Array.get(curr, 0)));
    View Full Code Here

    Examples of org.lealone.value.DataType

                            if (method.hasConnectionParam() && k == 0) {
                                continue;
                            }
                            Class<?> clazz = columnList[k];
                            int dataType = DataType.getTypeFromClass(clazz);
                            DataType dt = DataType.getDataType(dataType);
                            int nullable = clazz.isPrimitive() ? DatabaseMetaData.columnNoNulls : DatabaseMetaData.columnNullable;
                            add(rows,
                            // ALIAS_CATALOG
                                    catalog,
                                    // ALIAS_SCHEMA
                                    alias.getSchema().getName(),
                                    // ALIAS_NAME
                                    identifier(alias.getName()),
                                    // JAVA_CLASS
                                    alias.getJavaClassName(),
                                    // JAVA_METHOD
                                    alias.getJavaMethodName(),
                                    // COLUMN_COUNT
                                    "" + method.getParameterCount(),
                                    // POS INT
                                    "" + (k + (method.hasConnectionParam() ? 0 : 1)),
                                    // COLUMN_NAME
                                    "P" + (k + 1),
                                    // DATA_TYPE
                                    "" + DataType.convertTypeToSQLType(dt.type),
                                    // TYPE_NAME
                                    dt.name,
                                    // PRECISION INT
                                    "" + MathUtils.convertLongToInt(dt.defaultPrecision),
                                    // SCALE
                                    "" + dt.defaultScale,
                                    // RADIX
                                    "10",
                                    // NULLABLE SMALLINT
                                    "" + nullable,
                                    // COLUMN_TYPE
                                    "" + DatabaseMetaData.procedureColumnIn,
                                    // REMARKS
                                    "",
                                    // COLUMN_DEFAULT
                                    null);
                        }
                    }
                }
                break;
            }
            case SCHEMATA: {
                String collation = database.getCompareMode().getName();
                for (Schema schema : database.getAllSchemas()) {
                    add(rows,
                    // CATALOG_NAME
                            catalog,
                            // SCHEMA_NAME
                            identifier(schema.getName()),
                            // SCHEMA_OWNER
                            identifier(schema.getOwner().getName()),
                            // DEFAULT_CHARACTER_SET_NAME
                            CHARACTER_SET_NAME,
                            // DEFAULT_COLLATION_NAME
                            collation,
                            // IS_DEFAULT
                            Constants.SCHEMA_MAIN.equals(schema.getName()) ? "TRUE" : "FALSE",
                            // REMARKS
                            replaceNullWithEmpty(schema.getComment()),
                            // ID
                            "" + schema.getId());
                }
                break;
            }
            case TABLE_PRIVILEGES: {
                for (Right r : database.getAllRights()) {
                    Table table = r.getGrantedTable();
                    if (table == null || hideTable(table, session)) {
                        continue;
                    }
                    String tableName = identifier(table.getName());
                    if (!checkIndex(session, tableName, indexFrom, indexTo)) {
                        continue;
                    }
                    addPrivileges(rows, r.getGrantee(), catalog, table, null, r.getRightMask());
                }
                break;
            }
            case COLUMN_PRIVILEGES: {
                for (Right r : database.getAllRights()) {
                    Table table = r.getGrantedTable();
                    if (table == null || hideTable(table, session)) {
                        continue;
                    }
                    String tableName = identifier(table.getName());
                    if (!checkIndex(session, tableName, indexFrom, indexTo)) {
                        continue;
                    }
                    DbObject grantee = r.getGrantee();
                    int mask = r.getRightMask();
                    for (Column column : table.getColumns()) {
                        addPrivileges(rows, grantee, catalog, table, column.getName(), mask);
                    }
                }
                break;
            }
            case COLLATIONS: {
                for (Locale l : Collator.getAvailableLocales()) {
                    add(rows,
                    // NAME
                            CompareMode.getName(l),
                            // KEY
                            l.toString());
                }
                break;
            }
            case VIEWS: {
                for (Table table : getAllTables(session)) {
                    if (!table.getTableType().equals(Table.VIEW)) {
                        continue;
                    }
                    String tableName = identifier(table.getName());
                    if (!checkIndex(session, tableName, indexFrom, indexTo)) {
                        continue;
                    }
                    TableView view = (TableView) table;
                    add(rows,
                    // TABLE_CATALOG
                            catalog,
                            // TABLE_SCHEMA
                            identifier(table.getSchema().getName()),
                            // TABLE_NAME
                            tableName,
                            // VIEW_DEFINITION
                            table.getCreateSQL(),
                            // CHECK_OPTION
                            "NONE",
                            // IS_UPDATABLE
                            "NO",
                            // STATUS
                            view.isInvalid() ? "INVALID" : "VALID",
                            // REMARKS
                            replaceNullWithEmpty(view.getComment()),
                            // ID
                            "" + view.getId());
                }
                break;
            }
            case IN_DOUBT: {
                ArrayList<InDoubtTransaction> prepared = database.getInDoubtTransactions();
                if (prepared != null && admin) {
                    for (InDoubtTransaction prep : prepared) {
                        add(rows,
                        // TRANSACTION
                                prep.getTransaction(),
                                // STATE
                                prep.getState());
                    }
                }
                break;
            }
            case CROSS_REFERENCES: {
                for (SchemaObject obj : database.getAllSchemaObjects(DbObject.CONSTRAINT)) {
                    Constraint constraint = (Constraint) obj;
                    if (!(constraint.getConstraintType().equals(Constraint.REFERENTIAL))) {
                        continue;
                    }
                    ConstraintReferential ref = (ConstraintReferential) constraint;
                    IndexColumn[] cols = ref.getColumns();
                    IndexColumn[] refCols = ref.getRefColumns();
                    Table tab = ref.getTable();
                    Table refTab = ref.getRefTable();
                    String tableName = identifier(refTab.getName());
                    if (!checkIndex(session, tableName, indexFrom, indexTo)) {
                        continue;
                    }
                    int update = getRefAction(ref.getUpdateAction());
                    int delete = getRefAction(ref.getDeleteAction());
                    for (int j = 0; j < cols.length; j++) {
                        add(rows,
                        // PKTABLE_CATALOG
                                catalog,
                                // PKTABLE_SCHEMA
                                identifier(refTab.getSchema().getName()),
                                // PKTABLE_NAME
                                identifier(refTab.getName()),
                                // PKCOLUMN_NAME
                                identifier(refCols[j].column.getName()),
                                // FKTABLE_CATALOG
                                catalog,
                                // FKTABLE_SCHEMA
                                identifier(tab.getSchema().getName()),
                                // FKTABLE_NAME
                                identifier(tab.getName()),
                                // FKCOLUMN_NAME
                                identifier(cols[j].column.getName()),
                                // ORDINAL_POSITION
                                String.valueOf(j + 1),
                                // UPDATE_RULE SMALLINT
                                String.valueOf(update),
                                // DELETE_RULE SMALLINT
                                String.valueOf(delete),
                                // FK_NAME
                                identifier(ref.getName()),
                                // PK_NAME
                                identifier(ref.getUniqueIndex().getName()),
                                // DEFERRABILITY
                                "" + DatabaseMetaData.importedKeyNotDeferrable);
                    }
                }
                break;
            }
            case CONSTRAINTS: {
                for (SchemaObject obj : database.getAllSchemaObjects(DbObject.CONSTRAINT)) {
                    Constraint constraint = (Constraint) obj;
                    String constraintType = constraint.getConstraintType();
                    String checkExpression = null;
                    IndexColumn[] indexColumns = null;
                    Table table = constraint.getTable();
                    if (hideTable(table, session)) {
                        continue;
                    }
                    Index index = constraint.getUniqueIndex();
                    String uniqueIndexName = null;
                    if (index != null) {
                        uniqueIndexName = index.getName();
                    }
                    String tableName = identifier(table.getName());
                    if (!checkIndex(session, tableName, indexFrom, indexTo)) {
                        continue;
                    }
                    if (constraintType.equals(Constraint.CHECK)) {
                        checkExpression = ((ConstraintCheck) constraint).getExpression().getSQL();
                    } else if (constraintType.equals(Constraint.UNIQUE) || constraintType.equals(Constraint.PRIMARY_KEY)) {
                        indexColumns = ((ConstraintUnique) constraint).getColumns();
                    } else if (constraintType.equals(Constraint.REFERENTIAL)) {
                        indexColumns = ((ConstraintReferential) constraint).getColumns();
                    }
                    String columnList = null;
                    if (indexColumns != null) {
                        StatementBuilder buff = new StatementBuilder();
                        for (IndexColumn col : indexColumns) {
                            buff.appendExceptFirst(",");
                            buff.append(col.column.getName());
                        }
                        columnList = buff.toString();
                    }
                    add(rows,
                    // CONSTRAINT_CATALOG
                            catalog,
                            // CONSTRAINT_SCHEMA
                            identifier(constraint.getSchema().getName()),
                            // CONSTRAINT_NAME
                            identifier(constraint.getName()),
                            // CONSTRAINT_TYPE
                            constraintType,
                            // TABLE_CATALOG
                            catalog,
                            // TABLE_SCHEMA
                            identifier(table.getSchema().getName()),
                            // TABLE_NAME
                            tableName,
                            // UNIQUE_INDEX_NAME
                            uniqueIndexName,
                            // CHECK_EXPRESSION
                            checkExpression,
                            // COLUMN_LIST
                            columnList,
                            // REMARKS
                            replaceNullWithEmpty(constraint.getComment()),
                            // SQL
                            constraint.getCreateSQL(),
                            // ID
                            "" + constraint.getId());
                }
                break;
            }
            case CONSTANTS: {
                for (SchemaObject obj : database.getAllSchemaObjects(DbObject.CONSTANT)) {
                    Constant constant = (Constant) obj;
                    ValueExpression expr = constant.getValue();
                    add(rows,
                    // CONSTANT_CATALOG
                            catalog,
                            // CONSTANT_SCHEMA
                            identifier(constant.getSchema().getName()),
                            // CONSTANT_NAME
                            identifier(constant.getName()),
                            // CONSTANT_TYPE
                            "" + DataType.convertTypeToSQLType(expr.getType()),
                            // REMARKS
                            replaceNullWithEmpty(constant.getComment()),
                            // SQL
                            expr.getSQL(),
                            // ID
                            "" + constant.getId());
                }
                break;
            }
            case DOMAINS: {
                for (UserDataType dt : database.getAllUserDataTypes()) {
                    Column col = dt.getColumn();
                    add(rows,
                    // DOMAIN_CATALOG
                            catalog,
                            // DOMAIN_SCHEMA
                            Constants.SCHEMA_MAIN,
                            // DOMAIN_NAME
                            identifier(dt.getName()),
                            // COLUMN_DEFAULT
                            col.getDefaultSQL(),
                            // IS_NULLABLE
                            col.isNullable() ? "YES" : "NO",
                            // DATA_TYPE
                            "" + col.getDataType().sqlType,
                            // PRECISION INT
                            "" + col.getPrecisionAsInt(),
                            // SCALE INT
                            "" + col.getScale(),
                            // TYPE_NAME
                            col.getDataType().name,
                            // SELECTIVITY INT
                            "" + col.getSelectivity(),
                            // CHECK_CONSTRAINT
                            "" + col.getCheckConstraintSQL(session, "VALUE"),
                            // REMARKS
                            replaceNullWithEmpty(dt.getComment()),
                            // SQL
                            "" + dt.getCreateSQL(),
                            // ID
                            "" + dt.getId());
                }
                break;
            }
            case TRIGGERS: {
                for (SchemaObject obj : database.getAllSchemaObjects(DbObject.TRIGGER)) {
    View Full Code Here

    Examples of org.locationtech.udig.style.sld.editor.raster.ValueFormatter.DataType

         
        });
       
       
        /* init dialog */
        DataType type = currentFormat.getDataType();
        DecimalFormat curr = currentFormat.getFormat();
        if (type == null && curr == null){
          formatCombo.select(0);
        }else if (curr == null && type == DataType.INTEGER){
          formatCombo.select(1);
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.