org.sonar.persistence.model
Class DuplicationUnit
java.lang.Object
org.sonar.persistence.model.DuplicationUnit
public class DuplicationUnit
- extends Object
A simple DTO (Data Transfer Object) class that provides the mapping of data to a table.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DuplicationUnit
public DuplicationUnit()
DuplicationUnit
public DuplicationUnit(Integer projectSnapshotId,
Integer snapshotId,
String hash,
Integer indexInFile,
Integer startLine,
Integer endLine)
getId
public Long getId()
setId
public void setId(Long id)
getSnapshotId
public Integer getSnapshotId()
setSnapshotId
public void setSnapshotId(Integer snapshotId)
getProjectSnapshotId
public Integer getProjectSnapshotId()
setProjectSnapshotId
public void setProjectSnapshotId(Integer projectSnapshotId)
getHash
public String getHash()
setHash
public void setHash(String hash)
getIndexInFile
public int getIndexInFile()
setIndexInFile
public void setIndexInFile(int indexInFile)
getStartLine
public int getStartLine()
setStartLine
public void setStartLine(int startLine)
getEndLine
public int getEndLine()
setEndLine
public void setEndLine(int endLine)
getResourceKey
public String getResourceKey()
setResourceKey
public void setResourceKey(String resourceKey)
Copyright © 2009-2011 SonarSource. All Rights Reserved.