org.eclipse.higgins.idas.cp.inmem
Class InMemoryEntity

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.BasicEntity
      extended byorg.eclipse.higgins.idas.cp.inmem.InMemoryEntity
All Implemented Interfaces:
org.eclipse.higgins.idas.spi.IAttributeContainer, org.eclipse.higgins.idas.api.IBlankEntity, org.eclipse.higgins.idas.api.IEntity, org.eclipse.higgins.idas.api.IHasAttributes

public class InMemoryEntity
extends org.eclipse.higgins.idas.spi.BasicEntity
implements org.eclipse.higgins.idas.api.IEntity

An implementation of a Higgins. Entity for the InMemory/Mapping Context Provider which is intended for use when Entities are being manufactured on the fly or need to be cached privately. Please see the Samples section for one usage of creating Entities from SAML assertions, then allowing interfaces which require Entities to manipulate the InMemory Entity.

Author:
jimse@novell.com, tdoman@novell.com, dbuss@novell.com

Constructor Summary
InMemoryEntity(InMemoryContext container, URI type, String entityId)
           
InMemoryEntity(InMemoryContext container, URI type, String entityID, Iterator attributes)
           
 
Method Summary
 void remove()
           
 void updateNotification(org.eclipse.higgins.idas.spi.AttributeNotification attrNotif)
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicEntity
addAttribute, addAttribute, equals, getAttribute, getAttributes, getContext, getEntityID, getEntityType, getModel, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.idas.api.IEntity
getContext, getEntityID, getEntityType
 
Methods inherited from interface org.eclipse.higgins.idas.api.IBlankEntity
getModel
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
addAttribute, addAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue
 

Constructor Detail

InMemoryEntity

public InMemoryEntity(InMemoryContext container,
                      URI type,
                      String entityId)
               throws org.eclipse.higgins.idas.api.IdASException

InMemoryEntity

public InMemoryEntity(InMemoryContext container,
                      URI type,
                      String entityID,
                      Iterator attributes)
               throws org.eclipse.higgins.idas.api.IdASException
Method Detail

remove

public void remove()
            throws org.eclipse.higgins.idas.api.IdASException
Specified by:
remove in interface org.eclipse.higgins.idas.api.IEntity
Throws:
org.eclipse.higgins.idas.api.IdASException

updateNotification

public void updateNotification(org.eclipse.higgins.idas.spi.AttributeNotification attrNotif)
                        throws org.eclipse.higgins.idas.api.IdASException
Specified by:
updateNotification in interface org.eclipse.higgins.idas.spi.IAttributeContainer
Throws:
org.eclipse.higgins.idas.api.IdASException