public class VersionImpl extends Object implements Version
NAME_COMPARATOR
ID_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()
Version
getProject
in interface Version
public Long getProjectId()
Version
getProjectId
in interface ProjectConstant
getProjectId
in interface Version
public Project getProjectObject()
Version
Same as getProject() and exists for legacy reasons.
getProjectObject
in interface Version
public Long getId()
public String getName()
@Nullable public String getDescription()
getDescription
in interface ProjectConstant
getDescription
in interface Version
getDescription
in interface NamedWithDescription
public Long getSequence()
getSequence
in interface Version
public boolean isArchived()
isArchived
in interface Version
public boolean isReleased()
isReleased
in interface Version
@Nullable public Date getReleaseDate()
getReleaseDate
in interface Version
public org.ofbiz.core.entity.GenericValue toGenericValue()
@Nullable public Date getStartDate()
Version
getStartDate
in interface Version
Copyright © 2002-2024 Atlassian. All Rights Reserved.