public abstract class ObjectBean extends Object implements Serializable, Comparable<ObjectBean>
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_KEY_FORMAT
The object key format should be used like String.format(OBJECT_KEY_FORMAT, objectSchemaKey, object.getId())
|
Constructor and Description |
---|
ObjectBean() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ObjectBean other) |
MutableObjectBean |
createMutable()
Deprecated.
This method will be removed in JSM 6. Use
MutableObjectBean.create(ObjectBean) instead |
<T extends MutableObjectBean> |
createMutable(Class<T> clazz)
Deprecated.
This method will be removed in JSM 6. Use
MutableObjectBean.create(ObjectBean, Class) instead |
MutableObjectAttributeBean |
createObjectAttributeBean(ObjectTypeAttributeBean objectTypeAttributeBean) |
boolean |
deepEquals(ObjectBean other)
Compares this object bean together with all attributes to determine if they are equal
|
boolean |
defaultEqualsImpl(Object obj) |
int |
defaultHashCodeImpl() |
abstract String |
getArchivedBy() |
abstract Date |
getArchivedDate() |
abstract Date |
getCreated() |
abstract Integer |
getId() |
abstract String |
getLabel() |
abstract String |
getName()
Deprecated.
This method will be removed in JSM 6. Use
getLabel() instead. |
abstract @NotNull @Size(min=1) List<? extends ObjectAttributeBean> |
getObjectAttributeBeans() |
abstract String |
getObjectKey() |
abstract Integer |
getObjectTypeId() |
String |
getOutputString() |
abstract Date |
getUpdated() |
abstract boolean |
isArchived() |
abstract boolean |
isHasAvatar() |
void |
setArchived(boolean isArchived) |
void |
setArchivedBy(String archivedBy) |
void |
setArchivedDate(Date archivedDate) |
void |
setCreated(Date created) |
void |
setHasAvatar(boolean hasAvatar) |
void |
setId(Integer id) |
void |
setLabel(String label)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setObjectKey(String objectKey) |
void |
setObjectTypeId(Integer objectTypeId) |
void |
setUpdated(Date updated) |
String |
toString()
Do not change this
|
String |
toStringWithAttributeValues() |
public static final String OBJECT_KEY_FORMAT
public abstract Integer getId()
public abstract String getLabel()
@Deprecated public abstract String getName()
getLabel()
instead.public abstract String getObjectKey()
public abstract Date getCreated()
public abstract Date getUpdated()
public abstract boolean isHasAvatar()
public abstract Integer getObjectTypeId()
public abstract Date getArchivedDate()
public abstract boolean isArchived()
public abstract String getArchivedBy()
@NotNull @Size(min=1) public abstract @NotNull @Size(min=1) List<? extends ObjectAttributeBean> getObjectAttributeBeans()
@Deprecated public MutableObjectBean createMutable()
MutableObjectBean.create(ObjectBean)
instead@Deprecated public <T extends MutableObjectBean> T createMutable(Class<T> clazz)
MutableObjectBean.create(ObjectBean, Class)
insteadpublic void setId(Integer id)
@Deprecated public void setLabel(String label)
@Deprecated public void setName(String name)
public void setObjectKey(String objectKey)
public void setCreated(Date created)
public void setUpdated(Date updated)
public void setHasAvatar(boolean hasAvatar)
public void setObjectTypeId(Integer objectTypeId)
public void setArchived(boolean isArchived)
public void setArchivedBy(String archivedBy)
public void setArchivedDate(Date archivedDate)
public boolean deepEquals(ObjectBean other)
other
- the other object beanpublic String getOutputString()
public String toStringWithAttributeValues()
public MutableObjectAttributeBean createObjectAttributeBean(ObjectTypeAttributeBean objectTypeAttributeBean)
public int compareTo(ObjectBean other)
compareTo
in interface Comparable<ObjectBean>
public int defaultHashCodeImpl()
public boolean defaultEqualsImpl(Object obj)
Copyright © 2024 Atlassian. All rights reserved.