|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.mock.project.MockVersion
public class MockVersion
Constructor Summary | |
---|---|
MockVersion()
|
|
MockVersion(org.ofbiz.core.entity.GenericValue genericValue)
|
|
MockVersion(long id,
String name)
|
|
MockVersion(long id,
String name,
Project project)
|
|
MockVersion(long id,
String name,
Project project,
Long sequence)
|
Method Summary | |
---|---|
String |
getDescription()
|
org.ofbiz.core.entity.GenericValue |
getGenericValue()
Get the backing GenericValue object. |
Long |
getId()
|
Long |
getLong(String name)
Retrieve a numeric field. |
String |
getName()
|
org.ofbiz.core.entity.GenericValue |
getProject()
Returns Project as a GenericValue. |
Project |
getProjectObject()
Returns project this verion relates to. |
Date |
getReleaseDate()
|
Long |
getSequence()
|
String |
getString(String name)
Retrieve a String field. |
Timestamp |
getTimestamp(String name)
Retrieve a timestamp field. |
boolean |
isArchived()
|
boolean |
isReleased()
|
void |
setArchived(boolean archived)
|
void |
setDescription(String description)
|
void |
setId(Long id)
|
void |
setName(String name)
|
MockVersion |
setProjectObject(Project project)
|
void |
setReleased(boolean released)
|
void |
setReleaseDate(Date releasedate)
|
void |
setSequence(Long sequence)
|
void |
store()
Persist this object's immediate fields. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MockVersion()
public MockVersion(org.ofbiz.core.entity.GenericValue genericValue)
public MockVersion(long id, String name)
public MockVersion(long id, String name, Project project)
public MockVersion(long id, String name, Project project, Long sequence)
Method Detail |
---|
public org.ofbiz.core.entity.GenericValue getProject()
Version
getProject
in interface Version
public Project getProjectObject()
Version
getProjectObject
in interface Version
public MockVersion setProjectObject(Project project)
public Long getId()
getId
in interface Version
public void setId(Long id)
public String getName()
getName
in interface Version
public void setName(String name)
setName
in interface Version
public String getDescription()
getDescription
in interface Version
public void setDescription(String description)
setDescription
in interface Version
public Long getSequence()
getSequence
in interface Version
public void setSequence(Long sequence)
setSequence
in interface Version
public boolean isArchived()
isArchived
in interface Version
public void setArchived(boolean archived)
setArchived
in interface Version
public boolean isReleased()
isReleased
in interface Version
public void setReleased(boolean released)
setReleased
in interface Version
public Date getReleaseDate()
getReleaseDate
in interface Version
public void setReleaseDate(Date releasedate)
setReleaseDate
in interface Version
public String getString(String name)
OfBizValueWrapper
getString
in interface OfBizValueWrapper
name
- the field name
public Timestamp getTimestamp(String name)
OfBizValueWrapper
getTimestamp
in interface OfBizValueWrapper
name
- the field name
public Long getLong(String name)
OfBizValueWrapper
getLong
in interface OfBizValueWrapper
name
- the field name
public org.ofbiz.core.entity.GenericValue getGenericValue()
OfBizValueWrapper
getGenericValue
in interface OfBizValueWrapper
public void store()
OfBizValueWrapper
store
in interface OfBizValueWrapper
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |