Class MutableObjectAttributeBean
java.lang.Object
com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeBean
com.riadalabs.jira.plugins.insight.services.model.MutableObjectAttributeBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MutableObjectAttributeBean.EmptyMutableObjectAttributeBean
- Since:
- 5.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeBean
ObjectAttributeBean.EmptyObjectAttributeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableObjectAttributeBeancreate()static MutableObjectAttributeBeancreate(Long id, List<? extends ObjectAttributeValueBean> valueBeans, Integer objectTypeAttributeId, Integer objectId) getId()The ID of the attribute.The value(s) set for this object attribute.The ID of the object that "owns" the attributes.voidvoidsetObjectAttributeValueBeans(List<? extends ObjectAttributeValueBean> objectAttributeValueBeans) The value(s) set for this object attribute.voidsetObjectId(Integer objectId) voidsetObjectTypeAttributeId(Integer objectTypeAttributeId) Methods inherited from class com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeBean
createEmptyPlaceholder, createMutable, createObjectAttributeValueBean, deepEquals, equals, hashCode, isEmptyPlaceholder, toString
-
Constructor Details
-
MutableObjectAttributeBean
public MutableObjectAttributeBean()
-
-
Method Details
-
create
-
create
public static MutableObjectAttributeBean create(Long id, List<? extends ObjectAttributeValueBean> valueBeans, Integer objectTypeAttributeId, Integer objectId) -
getId
Description copied from class:ObjectAttributeBeanThe ID of the attribute.- Specified by:
getIdin classObjectAttributeBean- Returns:
- the id or null when null or less than 1
-
getObjectTypeAttributeId
- Specified by:
getObjectTypeAttributeIdin classObjectAttributeBean- Returns:
- the object type attribute id that determines the type of this attribute
-
getObjectId
Description copied from class:ObjectAttributeBeanThe ID of the object that "owns" the attributes.- Specified by:
getObjectIdin classObjectAttributeBean- Returns:
- the object id
-
setId
- Overrides:
setIdin classObjectAttributeBean
-
setObjectTypeAttributeId
- Overrides:
setObjectTypeAttributeIdin classObjectAttributeBean
-
setObjectId
- Overrides:
setObjectIdin classObjectAttributeBean
-
setObjectAttributeValueBeans
public void setObjectAttributeValueBeans(List<? extends ObjectAttributeValueBean> objectAttributeValueBeans) The value(s) set for this object attribute.- Parameters:
objectAttributeValueBeans- the values that should be used instead of the already existing values
-
getObjectAttributeValueBeans
The value(s) set for this object attribute.- Specified by:
getObjectAttributeValueBeansin classObjectAttributeBean- Returns:
- the list of attribute values
-