org.eclipse.higgins.idas.cp.jndi
Class JNDIEntity

java.lang.Object
  extended byorg.eclipse.higgins.idas.spi.BasicEntity
      extended byorg.eclipse.higgins.idas.cp.jndi.JNDIEntity
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 JNDIEntity
extends org.eclipse.higgins.idas.spi.BasicEntity
implements org.eclipse.higgins.idas.api.IEntity

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

Constructor Summary
JNDIEntity(JNDIContext jndiContext, org.eclipse.higgins.idas.api.IEntity copyFrom, org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           
JNDIEntity(JNDIContext jndiContext, SearchResult jndiResult, String searchBase, org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           
JNDIEntity(JNDIContext jndiContext, URI type, String entityID, org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom)
           
 org.eclipse.higgins.idas.api.IAttribute addAttribute(URI type)
           
 org.eclipse.higgins.idas.api.IAttribute getAttribute(URI consumerAttrName)
           
 Iterator getAttributes()
           
 String getEntityID()
           
 URI getEntityType()
           
 void remove()
           
 void removeAttribute(URI attrID)
           
 void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
           
 void removeAttributeValue(URI attrID, Object value)
           
 void updateNotification(org.eclipse.higgins.idas.spi.AttributeNotification attrNotif)
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicEntity
equals, getContext, getModel, getSingleValuedAttribute
 
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
 
Methods inherited from interface org.eclipse.higgins.idas.api.IBlankEntity
getModel
 
Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes
equals, getSingleValuedAttribute
 

Constructor Detail

JNDIEntity

public JNDIEntity(JNDIContext jndiContext,
                  SearchResult jndiResult,
                  String searchBase,
                  org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           throws org.eclipse.higgins.idas.api.IdASException
Parameters:
jndiContext -
jndiResult -
attrPDPs -
Throws:
org.eclipse.higgins.idas.api.IdASException

JNDIEntity

public JNDIEntity(JNDIContext jndiContext,
                  URI type,
                  String entityID,
                  org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           throws org.eclipse.higgins.idas.api.IdASException
Parameters:
jndiContext -
type -
entityID -
attrPDPs -
Throws:
org.eclipse.higgins.idas.api.IdASException

JNDIEntity

public JNDIEntity(JNDIContext jndiContext,
                  org.eclipse.higgins.idas.api.IEntity copyFrom,
                  org.eclipse.higgins.util.idas.cp.IAttributePDPs attrPDPs)
           throws org.eclipse.higgins.idas.api.IdASException
Parameters:
jndiContext -
copyFrom -
attrPDPs -
Throws:
org.eclipse.higgins.idas.api.IdASException
Method Detail

getEntityID

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

getEntityType

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

getAttributes

public Iterator getAttributes()
                       throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttributes in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

getAttribute

public org.eclipse.higgins.idas.api.IAttribute getAttribute(URI consumerAttrName)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

addAttribute

public org.eclipse.higgins.idas.api.IAttribute addAttribute(org.eclipse.higgins.idas.api.IAttribute copyFrom)
                                                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException

addAttribute

public org.eclipse.higgins.idas.api.IAttribute addAttribute(URI type)
                                                     throws org.eclipse.higgins.idas.api.IdASException,
                                                            org.eclipse.higgins.idas.api.InvalidTypeException
Specified by:
addAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.InvalidTypeException

removeAttribute

public void removeAttribute(URI attrID)
                     throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttribute in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IHasAttributes.removeAttribute(java.net.URI)

removeAttributeValue

public void removeAttributeValue(org.eclipse.higgins.idas.api.IAttribute attr)
                          throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IHasAttributes.removeAttributeValue(IAttribute)

removeAttributeValue

public void removeAttributeValue(URI attrID,
                                 Object value)
                          throws org.eclipse.higgins.idas.api.IdASException
Specified by:
removeAttributeValue in interface org.eclipse.higgins.idas.api.IHasAttributes
Throws:
org.eclipse.higgins.idas.api.IdASException
See Also:
IHasAttributes.removeAttributeValue(URI, Object)

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