com.atlassian.jira.issue.fields.screen
Class MockFieldScreen
java.lang.Object
com.atlassian.jira.issue.fields.screen.MockFieldScreen
- All Implemented Interfaces:
- FieldScreen
public class MockFieldScreen
- extends Object
- implements FieldScreen
Simple mock implementation of FieldScreen
.
- Since:
- v4.1
MockFieldScreen
public MockFieldScreen()
getId
public Long getId()
- Specified by:
getId
in interface FieldScreen
getName
public String getName()
- Specified by:
getName
in interface FieldScreen
setName
public void setName(String name)
- Specified by:
setName
in interface FieldScreen
getDescription
public String getDescription()
- Specified by:
getDescription
in interface FieldScreen
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface FieldScreen
getTabs
public List<FieldScreenTab> getTabs()
- Specified by:
getTabs
in interface FieldScreen
getTab
public FieldScreenTab getTab(int tabPosition)
- Specified by:
getTab
in interface FieldScreen
addMockTab
public MockFieldScreenTab addMockTab()
addTab
public FieldScreenTab addTab(String tabName)
- Specified by:
addTab
in interface FieldScreen
removeTab
public void removeTab(int tabPosition)
- Specified by:
removeTab
in interface FieldScreen
moveFieldScreenTabLeft
public void moveFieldScreenTabLeft(int tabPosition)
- Specified by:
moveFieldScreenTabLeft
in interface FieldScreen
moveFieldScreenTabRight
public void moveFieldScreenTabRight(int tabPosition)
- Specified by:
moveFieldScreenTabRight
in interface FieldScreen
resequence
public void resequence()
- Specified by:
resequence
in interface FieldScreen
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()
- Specified by:
getGenericValue
in interface FieldScreen
setGenericValue
public void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue)
- Specified by:
setGenericValue
in interface FieldScreen
isModified
public boolean isModified()
- Description copied from interface:
FieldScreen
- Indicates whether any fields of the screen have been modified
- Specified by:
isModified
in interface FieldScreen
store
public void store()
- Specified by:
store
in interface FieldScreen
remove
public void remove()
- Specified by:
remove
in interface FieldScreen
setId
public void setId(Long id)
- Specified by:
setId
in interface FieldScreen
containsField
public boolean containsField(String fieldId)
- Specified by:
containsField
in interface FieldScreen
removeFieldScreenLayoutItem
public void removeFieldScreenLayoutItem(String fieldId)
- Specified by:
removeFieldScreenLayoutItem
in interface FieldScreen
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.