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 class
Nested classes/interfaces inherited from class com.riadalabs.jira.plugins.insight.services.model.ObjectAttributeBean
ObjectAttributeBean.EmptyObjectAttributeBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MutableObjectAttributeBean
create()
static MutableObjectAttributeBean
create
(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.void
void
setObjectAttributeValueBeans
(List<? extends ObjectAttributeValueBean> objectAttributeValueBeans) The value(s) set for this object attribute.void
setObjectId
(Integer objectId) void
setObjectTypeAttributeId
(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:ObjectAttributeBean
The ID of the attribute.- Specified by:
getId
in classObjectAttributeBean
- Returns:
- the id or null when null or less than 1
-
getObjectTypeAttributeId
- Specified by:
getObjectTypeAttributeId
in classObjectAttributeBean
- Returns:
- the object type attribute id that determines the type of this attribute
-
getObjectId
Description copied from class:ObjectAttributeBean
The ID of the object that "owns" the attributes.- Specified by:
getObjectId
in classObjectAttributeBean
- Returns:
- the object id
-
setId
- Overrides:
setId
in classObjectAttributeBean
-
setObjectTypeAttributeId
- Overrides:
setObjectTypeAttributeId
in classObjectAttributeBean
-
setObjectId
- Overrides:
setObjectId
in 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:
getObjectAttributeValueBeans
in classObjectAttributeBean
- Returns:
- the list of attribute values
-