Package com.atlassian.bamboo.plan.dto
Class IdWithVersionDtoImpl
java.lang.Object
com.atlassian.bamboo.plan.dto.IdWithVersionDtoImpl
- All Implemented Interfaces:
IdWithVersionDto
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
Returns the ID of this DTO.long
Returns 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:IdWithVersionDto
Returns the ID of this DTO.- Specified by:
getId
in interfaceIdWithVersionDto
- Returns:
- the ID
-
getVersion
public long getVersion()Description copied from interface:IdWithVersionDto
Returns the version number of this DTO.- Specified by:
getVersion
in interfaceIdWithVersionDto
- Returns:
- the version number
-