I solved my problem using the code:
public void adicionaPropriedades(String node, String value) throws RemoteException {
try {
Store spacesStore = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
//create the node reference
Reference reference = new Reference(spacesStore, node, null);
//create the predicate
Predicate predicate = new Predicate();
predicate.setNodes(new Reference[]{reference});
QName PROP_QNAME_MY_PROPERTY_TIPO = QName.createQName("custom.model", "tipo_documento");
QName PROP_QNAME_MY_PROPERTY_NUMERO = QName.createQName("custom.model", "numero");
NamedValue[] propriedades = new NamedValue[2];
propriedades[0] = Utils.createNamedValue(PROP_QNAME_MY_PROPERTY_TIPO.toString(), value);
propriedades[1] = Utils.createNamedValue(PROP_QNAME_MY_PROPERTY_NUMERO.toString(), value);
System.out.println("Constants: "+Constants.PROP_DESCRIPTION);
CMLUpdate update = new CMLUpdate();
update.setWhere(predicate);
update.setProperty(propriedades);
CML cmlUpdate = new CML();
cmlUpdate.setUpdate(new CMLUpdate[]{update});
//perform a CML update
WebServiceFactory.getRepositoryService().update(cmlUpdate);
} catch (InvalidNodeRefException e) {
System.out.println("Erro: " + e);
}
}
Thanks for all or nothing.