public class MockIssueTypeScreenScheme extends Object implements IssueTypeScreenScheme
IssueTypeScreenScheme
for tests.DEFAULT_SCHEME_ID
Constructor and Description |
---|
MockIssueTypeScreenScheme() |
public Long getId()
getId
in interface IssueTypeScreenScheme
public MockIssueTypeScreenScheme id(long id)
public void setId(Long id)
setId
in interface IssueTypeScreenScheme
public String getName()
getName
in interface IssueTypeScreenScheme
public void setName(String name)
setName
in interface IssueTypeScreenScheme
public String getDescription()
getDescription
in interface IssueTypeScreenScheme
public void setDescription(String description)
setDescription
in interface IssueTypeScreenScheme
public org.ofbiz.core.entity.GenericValue getGenericValue()
getGenericValue
in interface IssueTypeScreenScheme
public void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
setGenericValue
in interface IssueTypeScreenScheme
public void store()
store
in interface IssueTypeScreenScheme
public void remove()
remove
in interface IssueTypeScreenScheme
public Collection<IssueTypeScreenSchemeEntity> getEntities()
getEntities
in interface IssueTypeScreenScheme
public IssueTypeScreenSchemeEntity getEntity(String issueTypeId)
getEntity
in interface IssueTypeScreenScheme
@Nonnull public FieldScreenScheme getEffectiveFieldScreenScheme(@Nonnull IssueType type)
IssueTypeScreenScheme
FieldScreenScheme
that JIRA will actually use
for the passed IssueType
. This method will never return
null
as each IssueType
must have an associated FieldScreenScheme
that either comes
from an explicit mapping or the default mapping in the scheme.getEffectiveFieldScreenScheme
in interface IssueTypeScreenScheme
type
- the IssueType
to query.FieldScreenScheme
for the passed IssueType
. Cannot be null.public IssueTypeScreenSchemeEntity getDefaultEntity()
public void addEntity(IssueTypeScreenSchemeEntity entity)
addEntity
in interface IssueTypeScreenScheme
public void removeEntity(String issueTypeId)
removeEntity
in interface IssueTypeScreenScheme
public boolean containsEntity(String issueTypeId)
containsEntity
in interface IssueTypeScreenScheme
public Collection<org.ofbiz.core.entity.GenericValue> getProjects()
getProjects
in interface IssueTypeScreenScheme
public boolean isDefault()
isDefault
in interface IssueTypeScreenScheme
public MockIssueTypeScreenSchemeEntity createEntity(IssueType type)
public MockIssueTypeScreenSchemeEntity createDefaultEntity()
Copyright © 2002-2019 Atlassian. All Rights Reserved.