org.sonar.core.duplication
Class DuplicationUnitDto
java.lang.Object
org.sonar.core.duplication.DuplicationUnitDto
public final class DuplicationUnitDto
- 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 |
DuplicationUnitDto
public DuplicationUnitDto()
DuplicationUnitDto
public DuplicationUnitDto(Integer projectSnapshotId,
Integer snapshotId,
String hash,
Integer indexInFile,
Integer startLine,
Integer endLine)
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-2012 SonarSource. All Rights Reserved.