com.atlassian.crowd.model
Class InternalEntity
java.lang.Object
com.atlassian.crowd.model.InternalEntity
- All Implemented Interfaces:
- TimestampedEntity, Serializable
- Direct Known Subclasses:
- ApplicationImpl, DirectoryImpl, InternalDirectoryEntity
public abstract class InternalEntity
- extends Object
- implements Serializable, TimestampedEntity
Superclass for internally stored data objects.
- See Also:
- Serialized Form
id
protected Long id
name
protected String name
active
protected boolean active
createdDate
protected Date createdDate
updatedDate
protected Date updatedDate
InternalEntity
protected InternalEntity()
InternalEntity
protected InternalEntity(InternalEntityTemplate template)
setUpdatedDateToNow
public void setUpdatedDateToNow()
setCreatedDateToNow
public void setCreatedDateToNow()
getId
public Long getId()
getName
public String getName()
isActive
public boolean isActive()
getCreatedDate
public Date getCreatedDate()
- Description copied from interface:
TimestampedEntity
- Returns the date the entity was created.
- Specified by:
getCreatedDate in interface TimestampedEntity
- Returns:
- date the entity was created
getUpdatedDate
public Date getUpdatedDate()
- Description copied from interface:
TimestampedEntity
- Returns the date the entity was last updated.
- Specified by:
getUpdatedDate in interface TimestampedEntity
- Returns:
- date the entity was last updated.
setName
protected void setName(String name)
setActive
protected void setActive(boolean active)
setCreatedDate
protected void setCreatedDate(Date createdDate)
setUpdatedDate
protected void setUpdatedDate(Date updatedDate)
hashCode
public abstract int hashCode()
- Overrides:
hashCode in class Object
equals
public abstract boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012 Atlassian. All Rights Reserved.