|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.groups.GroupMemberImpl
org.jasig.portal.groups.EntityImpl
public class EntityImpl
Reference implementation for IEntity.
| Field Summary | |
|---|---|
protected EntityIdentifier |
entityIdentifier
|
| Constructor Summary | |
|---|---|
EntityImpl(EntityIdentifier ei)
EntityImpl constructor |
|
EntityImpl(String newEntityKey,
Class newEntityType)
EntityImpl constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Answers if Object o is an IGroupMember that refers to the same underlying
entity(ies) as this. |
EntityIdentifier |
getEntityIdentifier()
|
Class |
getEntityType()
Returns the type of the underyling entity. |
String |
getKey()
Returns the key of the underlying entity. |
Class |
getLeafType()
Returns the type of the underyling entity. |
Class |
getType()
Returns this object's type, as opposed to the type of its underlying entity. |
boolean |
isEntity()
|
String |
toString()
Returns a String that represents the value of this object. |
| Methods inherited from class org.jasig.portal.groups.GroupMemberImpl |
|---|
addGroup, castAndCopyHashSet, contains, deepContains, getAllContainingGroups, getAllEntities, getAllMembers, getCacheKey, getCompositeGroupService, getContainingGroups, getEntities, getMemberGroupNamed, getMembers, getUnderlyingEntityIdentifier, hashCode, hasMembers, isDeepMemberOf, isGroup, isKnownEntityType, isMemberOf, primGetAllContainingGroups, removeGroup, setGroupKeysInitialized |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jasig.portal.groups.IGroupMember |
|---|
contains, deepContains, getAllContainingGroups, getAllEntities, getAllMembers, getContainingGroups, getEntities, getMemberGroupNamed, getMembers, getUnderlyingEntityIdentifier, hashCode, hasMembers, isDeepMemberOf, isGroup, isMemberOf |
| Field Detail |
|---|
protected EntityIdentifier entityIdentifier
| Constructor Detail |
|---|
public EntityImpl(String newEntityKey,
Class newEntityType)
throws GroupsException
GroupsException
public EntityImpl(EntityIdentifier ei)
throws GroupsException
GroupsException| Method Detail |
|---|
public boolean equals(Object obj)
IGroupMemberIGroupMember that refers to the same underlying
entity(ies) as this.
equals in interface IGroupMemberequals in class Objectobj - the Object to compare with
Hashtablepublic EntityIdentifier getEntityIdentifier()
getEntityIdentifier in interface IBasicEntitypublic Class getEntityType()
getEntityType in interface IGroupMemberpublic String getKey()
getKey in interface IGroupMembergetKey in class GroupMemberImplpublic Class getLeafType()
getLeafType in interface IGroupMemberIGroupMember.getEntityType()public Class getType()
getType in interface IGroupMembergetType in class GroupMemberImplpublic boolean isEntity()
isEntity in interface IGroupMemberisEntity in class GroupMemberImplpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||