public class PromotionLevel extends java.lang.Object implements ProjectEntity
| Constructor and Description |
|---|
PromotionLevel() |
| Modifier and Type | Method and Description |
|---|---|
Form |
asForm() |
static Form |
form() |
java.lang.String |
getEntityDisplayName()
Representation, like "Branch P/X"
|
Project |
getProject()
Returns the project this entity is associated with
|
ProjectEntityType |
getProjectEntityType()
Gets the type of entity as an enum.
|
static PromotionLevel |
of(Branch branch,
NameDescription nameDescription) |
PromotionLevel |
update(NameDescription nameDescription) |
PromotionLevel |
withId(ID id) |
PromotionLevel |
withImage(boolean image) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectId, getSignature, projectIdgetId, id, isEntityDefined, isEntityNewpublic static PromotionLevel of(Branch branch, NameDescription nameDescription)
public Project getProject()
ProjectEntitygetProject in interface ProjectEntitypublic ProjectEntityType getProjectEntityType()
ProjectEntitygetProjectEntityType in interface ProjectEntitypublic java.lang.String getEntityDisplayName()
ProjectEntitygetEntityDisplayName in interface ProjectEntitypublic PromotionLevel withId(ID id)
public PromotionLevel withImage(boolean image)
public static Form form()
public Form asForm()
public PromotionLevel update(NameDescription nameDescription)