Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client
Class OpDto

java.lang.Object
  extended by org.jboss.errai.otec.client.OpDto
All Implemented Interfaces:
Comparable<OpDto>

@Portable
public class OpDto
extends Object
implements Comparable<OpDto>

Author:
Mike Brock

Constructor Summary
OpDto()
           
 
Method Summary
 int compareTo(OpDto o)
           
static OpDto fromOperation(OTOperation operation, int lastRevisionTx)
           
 int getEntityId()
           
 String getHash()
           
 int getLastRevisionTx()
           
 List<Mutation> getMutations()
           
 OpPairDto getOpPairDto()
           
 int getRevision()
           
 OTOperation otOperation(OTEngine engine)
           
 void setEntityId(int entityId)
           
 void setHash(String hash)
           
 void setLastRevisionTx(int lastRevisionTx)
           
 void setMutations(List<Mutation> mutations)
           
 void setRevisionId(int revisionId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpDto

public OpDto()
Method Detail

fromOperation

public static OpDto fromOperation(OTOperation operation,
                                  int lastRevisionTx)

getRevision

public int getRevision()

setRevisionId

public void setRevisionId(int revisionId)

getLastRevisionTx

public int getLastRevisionTx()

setLastRevisionTx

public void setLastRevisionTx(int lastRevisionTx)

getEntityId

public int getEntityId()

setEntityId

public void setEntityId(int entityId)

getHash

public String getHash()

setHash

public void setHash(String hash)

getMutations

public List<Mutation> getMutations()

getOpPairDto

public OpPairDto getOpPairDto()

setMutations

public void setMutations(List<Mutation> mutations)

otOperation

public OTOperation otOperation(OTEngine engine)

compareTo

public int compareTo(OpDto o)
Specified by:
compareTo in interface Comparable<OpDto>

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.