Class ObjectBean
java.lang.Object
com.riadalabs.jira.plugins.insight.services.model.ObjectBean
- All Implemented Interfaces:
Serializable
,Comparable<ObjectBean>
- Direct Known Subclasses:
LegacyObjectBean
,MutableObjectBean
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The object key format should be used like String.format(OBJECT_KEY_FORMAT, objectSchemaKey, object.getId()) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ObjectBean other) Deprecated.This method will be removed in JSM 6.<T extends MutableObjectBean>
TcreateMutable
(Class<T> clazz) Deprecated.This method will be removed in JSM 6.createObjectAttributeBean
(ObjectTypeAttributeBean objectTypeAttributeBean) boolean
deepEquals
(ObjectBean other) Compares this object bean together with all attributes to determine if they are equalboolean
defaultEqualsImpl
(Object obj) int
abstract String
abstract Date
abstract Date
abstract Integer
getId()
abstract String
getLabel()
abstract String
getName()
Deprecated.This method will be removed in JSM 6.abstract @NotNull @Size(min=1) List<? extends ObjectAttributeBean>
abstract String
abstract Integer
abstract Date
abstract boolean
abstract boolean
void
setArchived
(boolean isArchived) void
setArchivedBy
(String archivedBy) void
setArchivedDate
(Date archivedDate) void
setCreated
(Date created) void
setHasAvatar
(boolean hasAvatar) void
void
Deprecated.void
Deprecated.void
setObjectKey
(String objectKey) void
setObjectTypeId
(Integer objectTypeId) void
setUpdated
(Date updated) toString()
Do not change this
-
Field Details
-
OBJECT_KEY_FORMAT
The object key format should be used like String.format(OBJECT_KEY_FORMAT, objectSchemaKey, object.getId())- See Also:
-
-
Constructor Details
-
ObjectBean
public ObjectBean()
-
-
Method Details
-
getId
-
getLabel
-
getName
Deprecated.This method will be removed in JSM 6. UsegetLabel()
instead. -
getObjectKey
-
getCreated
-
getUpdated
-
isHasAvatar
public abstract boolean isHasAvatar() -
getObjectTypeId
-
getArchivedDate
-
isArchived
public abstract boolean isArchived() -
getArchivedBy
-
getObjectAttributeBeans
@NotNull @Size(min=1) public abstract @NotNull @Size(min=1) List<? extends ObjectAttributeBean> getObjectAttributeBeans() -
createMutable
Deprecated.This method will be removed in JSM 6. UseMutableObjectBean.create(ObjectBean)
instead -
createMutable
Deprecated.This method will be removed in JSM 6. UseMutableObjectBean.create(ObjectBean, Class)
instead -
setId
-
setLabel
Deprecated. -
setName
Deprecated. -
setObjectKey
-
setCreated
-
setUpdated
-
setHasAvatar
public void setHasAvatar(boolean hasAvatar) -
setObjectTypeId
-
setArchived
public void setArchived(boolean isArchived) -
setArchivedBy
-
setArchivedDate
-
deepEquals
Compares this object bean together with all attributes to determine if they are equal- Parameters:
other
- the other object bean- Returns:
- true if equal otherwise false
-
toString
Do not change this -
getOutputString
-
toStringWithAttributeValues
-
createObjectAttributeBean
public MutableObjectAttributeBean createObjectAttributeBean(ObjectTypeAttributeBean objectTypeAttributeBean) -
compareTo
- Specified by:
compareTo
in interfaceComparable<ObjectBean>
-
defaultHashCodeImpl
public int defaultHashCodeImpl() -
defaultEqualsImpl
-