public class VersionImpl extends Object implements Version
NAME_COMPARATORID_COMPARATOR| Constructor and Description |
|---|
VersionImpl(Long projectId,
Long id,
String name) |
VersionImpl(Long projectId,
Long id,
String name,
String description,
Long sequence,
boolean archived,
boolean released,
Date releaseDate,
Date startDate) |
| Modifier and Type | Method and Description |
|---|---|
static Timestamp |
copyDate(Date date) |
boolean |
equals(Object o) |
String |
getDescription() |
Long |
getId() |
String |
getName() |
Project |
getProject()
Returns project this version relates to.
|
Long |
getProjectId()
Returns the ID of the project that this version belongs to.
|
Project |
getProjectObject()
Returns project this version relates to.
|
Date |
getReleaseDate() |
Long |
getSequence() |
Date |
getStartDate()
Returns the start date of the version
|
int |
hashCode() |
boolean |
isArchived() |
boolean |
isReleased() |
org.ofbiz.core.entity.GenericValue |
toGenericValue() |
String |
toString() |
public Project getProject()
VersiongetProject in interface Versionpublic Long getProjectId()
VersiongetProjectId in interface ProjectConstantgetProjectId in interface Versionpublic Project getProjectObject()
VersionSame as getProject() and exists for legacy reasons.
getProjectObject in interface Versionpublic Long getId()
public String getName()
@Nullable public String getDescription()
getDescription in interface ProjectConstantgetDescription in interface VersiongetDescription in interface NamedWithDescriptionpublic Long getSequence()
getSequence in interface Versionpublic boolean isArchived()
isArchived in interface Versionpublic boolean isReleased()
isReleased in interface Version@Nullable public Date getReleaseDate()
getReleaseDate in interface Versionpublic org.ofbiz.core.entity.GenericValue toGenericValue()
@Nullable public Date getStartDate()
VersiongetStartDate in interface VersionCopyright © 2002-2021 Atlassian. All Rights Reserved.