public abstract class InternalEntity extends Object implements Serializable, TimestampedEntity
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected Date |
createdDate |
protected Long |
id |
protected String |
name |
protected Date |
updatedDate |
| Modifier | Constructor and Description |
|---|---|
protected |
InternalEntity() |
protected |
InternalEntity(InternalEntityTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
Date |
getCreatedDate()
Returns the date the entity was created.
|
Long |
getId() |
String |
getName() |
Date |
getUpdatedDate()
Returns the date the entity was last updated.
|
abstract int |
hashCode() |
boolean |
isActive() |
protected void |
setActive(boolean active) |
void |
setCreatedDate(Date createdDate) |
void |
setCreatedDateToNow() |
protected void |
setName(String name) |
void |
setUpdatedDate(Date updatedDate) |
void |
setUpdatedDateToNow() |
protected Long id
protected String name
protected boolean active
protected Date createdDate
protected Date updatedDate
protected InternalEntity()
protected InternalEntity(InternalEntityTemplate template)
public void setUpdatedDateToNow()
public void setCreatedDateToNow()
public Long getId()
public String getName()
public boolean isActive()
public Date getCreatedDate()
TimestampedEntitygetCreatedDate in interface TimestampedEntitypublic Date getUpdatedDate()
TimestampedEntitygetUpdatedDate in interface TimestampedEntityprotected void setName(String name)
protected void setActive(boolean active)
public void setCreatedDate(Date createdDate)
public void setUpdatedDate(Date updatedDate)
Copyright © 2019 Atlassian. All rights reserved.