1 /*******************************************************************************
2 * Copyright (c) 2007, 2010 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.db.procore.cluster;
14 import org.simantics.db.service.ClusterUID;
17 public interface ClusterChangeSetI {
28 public static class Operation {
29 ClusterChangeSet.IteratorI iterator; // Position of the iteration. Do not mess with this.
30 public OperationEnum type;
31 public int count; // number of arguments
32 public short resourceIndex;
33 public short predicateIndex;
34 public ClusterUID predicateCluster;
35 public short objectIndex;
36 public ClusterUID objectCluster;
37 public long valueOffset;
39 public byte[] valueData; // The actual byte table where value data is. Do not mess with this.
40 public int valueStart; // Start of value in valueData.
44 public void getNextOperation(Operation operation); // Skips unasked arguments.
45 public ClusterUID getClusterUID();