Registers the data type of an experimental parameter. Experimental
parameters use the "unknown" data type by default.
@param parameterName the parameter name (e.g. "x-foo")
@param dataType the data type or null to remove
350142
public void registerParameterDataType(String parameterName, ICalDataType dataType) {
		parameterName = parameterName.toLowerCase();
		if (dataType == null) {
			parameterDataTypes.remove(parameterName);
		} else {
			parameterDataTypes.put(parameterName, dataType);
		}
	}
221429
void addParameter(String name, String value) {
        params.add(new Parameter(name, value));
    }
187865
private void registerMethod(Method method) {
    Type genericType = method.getGenericParameterTypes()[0];
    Class<?> argumentType = resolveArgument(genericType);
    if (argumentType != null && Operation.class.isAssignableFrom(argumentType)) {
      registerMethod(argumentType, method);
    }
  }
849782
protected Datatype updateDtrDatatype(Datatype datatype) {
		// 
		assert (dtrMapInUse);

		// // QNameContext qncSchemaType = datatype.getSchemaType();
		// QNameContext qncBase = qncSchemaType.getSimpleBaseType();
		// assert(qncSchemaType != null);
		//
		//
		// // // special integer handling
		// // if (dtrDatatype.getBuiltInType() == BuiltInType.INTEGER
		// // && (datatype.getBuiltInType() == BuiltInType.NBIT_UNSIGNED_INTEGER
		// || datatype
		// // .getBuiltInType() == BuiltInType.UNSIGNED_INTEGER)) {
		// // dtrDatatype = datatype;
		// // }
		//
		// Datatype dt = dtrMap.get(qncBase.getQName());
		//
		// if (dt == null) {
		// // dt = updateDtrDatatype(simpleBaseType);
		// // dt = updateDtrDatatype(qncSchemaType.getSimpleBaseDatatype());
		// dt = updateDtrDatatype(qncBase); //baseDatatype);
		// // dtrMap.put(qncBase.getQName(), dt);
		// } else {
		// // save new mapping in map
		// // dtrMap.put(qncSchemaType.getQName(), dt);
		// }
		//
		// return dt;

		Datatype baseDatatype = datatype.getBaseDatatype();
		// QNameContext qncSchemaType = datatype.getSchemaType();
		// QNameContext simpleBaseType =
		// qncSchemaType.getSimpleBaseDatatype().getSchemaType();
		QNameContext simpleBaseType = baseDatatype.getSchemaType();

		Datatype dtrDatatype = dtrMap.get(simpleBaseType.getQName());

		if (dtrDatatype == null) {
			// dt = updateDtrDatatype(simpleBaseType);
			// dt = updateDtrDatatype(qncSchemaType.getSimpleBaseDatatype());
			dtrDatatype = updateDtrDatatype(baseDatatype);
		}

		// special integer handling
		if ((dtrDatatype.getBuiltInType() == BuiltInType.INTEGER || dtrDatatype
				.getBuiltInType() == BuiltInType.UNSIGNED_INTEGER)
				&& (datatype.getBuiltInType() == BuiltInType.NBIT_UNSIGNED_INTEGER || datatype
						.getBuiltInType() == BuiltInType.UNSIGNED_INTEGER)) {
			dtrDatatype = datatype;
		}

		// save new mapping in map
		dtrMap.put(datatype.getSchemaType().getQName(), dtrDatatype);

		return dtrDatatype;
	}
521154
public void setParameterType(String type) {
		String typeName;
		if (Strings.isEmpty(type)) {
			typeName = Object.class.getName();
		} else {
			typeName = type;
		}
		this.parameter.setParameterType(newTypeRef(this.context, typeName));
	}
142175
public void register(String table, String column, Type<?> type) {
        javaTypeMapping.setType(table, column, type);
        hasTableColumnTypes = true;
    }
373046
def add_datatype(self, name: str, datatype: DT):
        
        self._datatypes[name] = datatype
584380
private static ICalDataType toDataType(String localName) {
		return "unknown".equals(localName) ? null : ICalDataType.get(localName);
	}
283288
public void setPropertyType(PropertyIdValue propertyIdValue,
			String datatypeIri) {
		datatypes.put(propertyIdValue.getId(), datatypeIri);

	}
112635
public void registerAsType(Object locator, Class<?> type) {
		if (locator == null)
			throw new NullPointerException("Locator cannot be null");
		if (type == null)
			throw new NullPointerException("Type cannot be null");

		IComponentFactory factory = new DefaultComponentFactory(type);
		_registrations.add(new Registration(locator, factory));
	}
509455
@Override
    public void visitParameter(String parameterName, int access) {
        buf.setLength(0);
        buf.append(name).append(".visitParameter(");
        appendString(buf, parameterName);
        buf.append(", ");
        appendAccess(access);
        text.add(buf.append(");\n").toString());
    }
643616
function registerTypeByName(type) {
    if (registryLogger.isDebugEnabled()) {
        registryLogger.debug('Register Type \'%s\' by name [%s]', type.id, type.typeName);
    }
    typeByName[type.typeName] = type;
    return type;
}
927348
@Override
    public void register(BindingRegisterContext<JsonArray> ctx) throws SQLException {
        ctx.statement().registerOutParameter(ctx.index(), Types.VARCHAR);
    }
1282765
public void registerNumeric(int total, int decimal, Class<?> javaType) {
        jdbcTypeMapping.registerNumeric(total, decimal, javaType);
    }
1071949
def registerToDataTypes( cls ):
        
        from projexui.xdatatype import registerDataType
        registerDataType(cls.__name__,
            lambda pyvalue:  pyvalue.toString(),
            lambda qvariant: cls.fromString(unwrapVariant(qvariant)))
400258
private static void _registerTypeMapping(WSServer server, Class clazz) {
	if (clazz == null) return;

	if (!isComplexType(clazz)) {
	    if (clazz.isArray()) {
		_registerTypeMapping(server, clazz.getComponentType());
	    }
	    return;
	}
	server.registerTypeMapping(clazz);
	registerTypeMapping(server, clazz);
    }
668326
@Override
    public void visitFormalTypeParameter(final String name) {
        if (type == TYPE_SIGNATURE
                || (state != EMPTY && state != FORMAL && state != BOUND)) {
            throw new IllegalStateException();
        }
        CheckMethodAdapter.checkIdentifier(name, "formal type parameter");
        state = FORMAL;
        if (sv != null) {
            sv.visitFormalTypeParameter(name);
        }
    }