org.sonar.jpa.entity
Class DuplicationBlock

java.lang.Object
  extended by org.sonar.jpa.entity.DuplicationBlock

public class DuplicationBlock
extends Object

Since:
2.11

Field Summary
static int BLOCK_HASH_SIZE
           
 
Constructor Summary
DuplicationBlock()
           
DuplicationBlock(Integer projectSnapshotId, Integer snapshotId, String hash, Integer indexInFile, Integer startLine, Integer endLine)
           
 
Method Summary
 Integer getEndLine()
           
 String getHash()
           
 Integer getId()
           
 Integer getIndexInFile()
           
 Integer getProjectSnapshotId()
           
 Integer getSnapshotId()
           
 Integer getStartLine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLOCK_HASH_SIZE

public static final int BLOCK_HASH_SIZE
See Also:
Constant Field Values
Constructor Detail

DuplicationBlock

public DuplicationBlock()

DuplicationBlock

public DuplicationBlock(Integer projectSnapshotId,
                        Integer snapshotId,
                        String hash,
                        Integer indexInFile,
                        Integer startLine,
                        Integer endLine)
Method Detail

getId

public Integer getId()

getSnapshotId

public Integer getSnapshotId()

getProjectSnapshotId

public Integer getProjectSnapshotId()

getHash

public String getHash()

getIndexInFile

public Integer getIndexInFile()

getStartLine

public Integer getStartLine()

getEndLine

public Integer getEndLine()


Copyright © 2009-2011 SonarSource. All Rights Reserved.