|
||||||||||
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(java.lang.String newEntityKey,
java.lang.Class newEntityType)
EntityImpl constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Answers if Object o is an IGroupMember that refers to the same underlying
entity(ies) as this . |
EntityIdentifier |
getEntityIdentifier()
|
java.lang.Class |
getEntityType()
Returns the type of the underyling entity. |
java.lang.String |
getKey()
Returns the key of the underlying entity. |
java.lang.Class |
getLeafType()
Returns the type of the underyling entity. |
java.lang.Class |
getType()
Returns this object's type, as opposed to the type of its underlying entity. |
boolean |
isEntity()
|
java.lang.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(java.lang.String newEntityKey, java.lang.Class newEntityType) throws GroupsException
GroupsException
public EntityImpl(EntityIdentifier ei) throws GroupsException
GroupsException
Method Detail |
---|
public boolean equals(java.lang.Object obj)
IGroupMember
IGroupMember
that refers to the same underlying
entity(ies) as this
.
equals
in interface IGroupMember
equals
in class java.lang.Object
obj
- the Object to compare with
Hashtable
public EntityIdentifier getEntityIdentifier()
getEntityIdentifier
in interface IBasicEntity
public java.lang.Class getEntityType()
getEntityType
in interface IGroupMember
public java.lang.String getKey()
getKey
in interface IGroupMember
getKey
in class GroupMemberImpl
public java.lang.Class getLeafType()
getLeafType
in interface IGroupMember
IGroupMember.getEntityType()
public java.lang.Class getType()
getType
in interface IGroupMember
getType
in class GroupMemberImpl
public boolean isEntity()
isEntity
in interface IGroupMember
isEntity
in class GroupMemberImpl
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |