|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.integration.model.DirectoryEntity
public abstract class DirectoryEntity
Generic directory entity object. All entity attributes are stored as attributes
.
Field Summary | |
---|---|
protected boolean |
active
If the entity is active or not. |
protected Map |
attributes
RemoteAttributes for the entity. |
protected Date |
conception
The time entity was created. |
protected String |
description
Description of the entity. |
protected long |
directoryID
The crowd server internal directory tracking ID. |
protected long |
ID
The unique identifier for the entity. |
protected Date |
lastModified
The time entity was last modification. |
protected String |
name
The unique name of the entity for the directory entity |
Constructor Summary | |
---|---|
DirectoryEntity()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
AttributeValues |
getAttribute(String key)
|
Map |
getAttributes()
Gets the attributes of the entity. |
Date |
getConception()
Gets the conception date of the entity. |
String |
getDescription()
Gets the description of the entity. |
long |
getDirectoryID()
Sets the internal directory of the entity
is mapped too. |
long |
getID()
Gets the unique identifier. |
Date |
getLastModified()
Gets the last time the entity was modified. |
String |
getName()
Gets the name of the entity. |
int |
hashCode()
|
boolean |
isActive()
Gets if the entity is active or inactive. |
void |
setActive(boolean active)
Sets if the entity is active or inactive. |
void |
setAttribute(String key,
AttributeValues values)
|
void |
setAttribute(String key,
String value)
|
void |
setAttributes(Map attributes)
Sets the attributes of the entity. |
void |
setConception(Date conception)
Sets the conception date of the entity. |
void |
setDescription(String description)
Sets the description of the entity. |
void |
setDirectoryID(long directoryID)
Gets the internal directory of the entity
is mapped too. |
void |
setID(long ID)
Sets the unique identifier. |
void |
setLastModified(Date lastModified)
Sets the last time the entity was modified. |
void |
setName(String name)
Sets the name of the entity. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected long ID
protected String name
protected long directoryID
protected String description
protected boolean active
protected Date conception
protected Map attributes
protected Date lastModified
Constructor Detail |
---|
public DirectoryEntity()
Method Detail |
---|
public long getID()
public void setID(long ID)
ID
- The ID.public String getName()
public void setName(String name)
name
- The name.public long getDirectoryID()
directory
of the entity
is mapped too.
public void setDirectoryID(long directoryID)
directory
of the entity
is mapped too.
directoryID
- The directory ID.public Map getAttributes()
public void setAttributes(Map attributes)
attributes
- The attributes.public String getDescription()
public void setDescription(String description)
description
- The description.public boolean isActive()
true
if and only if the entity is active, otherwise false
.public void setActive(boolean active)
active
- true
if and only if the entity is active, otherwise false
.public Date getConception()
public void setConception(Date conception)
conception
- The conception date.public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- The last modified date.public AttributeValues getAttribute(String key)
public void setAttribute(String key, String value)
public void setAttribute(String key, AttributeValues values)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |