public abstract class ObjectAttributeBean extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ObjectAttributeBean.EmptyObjectAttributeBean |
Constructor and Description |
---|
ObjectAttributeBean() |
Modifier and Type | Method and Description |
---|---|
static ObjectAttributeBean |
createEmptyPlaceholder(Integer objectTypeAttributeId,
Integer objectId) |
MutableObjectAttributeBean |
createMutable()
Deprecated.
Use { @link MutableObjectAttributeBean#create() } instead.
|
MutableObjectAttributeValueBean |
createObjectAttributeValueBean() |
boolean |
deepEquals(ObjectAttributeBean other)
Compares this and all attribute values to determine if this is equal or not.
|
boolean |
equals(Object obj) |
abstract Long |
getId()
The ID of the attribute.
|
abstract List<? extends ObjectAttributeValueBean> |
getObjectAttributeValueBeans()
The value(s) set for this object attribute.
|
abstract Integer |
getObjectId()
The ID of the object that "owns" the attributes.
|
abstract Integer |
getObjectTypeAttributeId() |
int |
hashCode()
The equals and hashcode uses the objectTypeAttributeId to separate the uniqueness for the object attributes.
|
boolean |
isEmptyPlaceholder() |
void |
setId(Long id) |
void |
setObjectId(Integer objectId) |
void |
setObjectTypeAttributeId(Integer objectTypeAttributeId) |
String |
toString() |
public static ObjectAttributeBean createEmptyPlaceholder(Integer objectTypeAttributeId, Integer objectId)
public boolean isEmptyPlaceholder()
@Deprecated public MutableObjectAttributeBean createMutable()
public void setId(Long id)
public abstract Long getId()
public void setObjectTypeAttributeId(Integer objectTypeAttributeId)
public abstract Integer getObjectTypeAttributeId()
public void setObjectId(Integer objectId)
public abstract Integer getObjectId()
public MutableObjectAttributeValueBean createObjectAttributeValueBean()
public abstract List<? extends ObjectAttributeValueBean> getObjectAttributeValueBeans()
public int hashCode()
public boolean deepEquals(ObjectAttributeBean other)
Copyright © 2024 Atlassian. All rights reserved.