Package com.atlassian.bamboo.plan.dto
Class IdWithVersionDtoImpl
java.lang.Object
com.atlassian.bamboo.plan.dto.IdWithVersionDtoImpl
- All Implemented Interfaces:
IdWithVersionDto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Returns the ID of this DTO.longReturns the version number of this DTO.
-
Constructor Details
-
IdWithVersionDtoImpl
public IdWithVersionDtoImpl(long id, long version)
-
-
Method Details
-
getId
public long getId()Description copied from interface:IdWithVersionDtoReturns the ID of this DTO.- Specified by:
getIdin interfaceIdWithVersionDto- Returns:
- the ID
-
getVersion
public long getVersion()Description copied from interface:IdWithVersionDtoReturns the version number of this DTO.- Specified by:
getVersionin interfaceIdWithVersionDto- Returns:
- the version number
-