org.eclipse.higgins.idas.cp.jndi
Class JNDIEntity
java.lang.Object
org.eclipse.higgins.idas.spi.BasicEntity
org.eclipse.higgins.idas.cp.jndi.JNDIEntity
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IEntity, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.api.IValue, org.eclipse.higgins.idas.spi.IAttributeContainer
public class JNDIEntity
- extends org.eclipse.higgins.idas.spi.BasicEntity
- implements org.eclipse.higgins.idas.api.IEntity
| Fields inherited from interface org.eclipse.higgins.idas.api.IValue |
BASE_OWL_URI |
| Methods inherited from class org.eclipse.higgins.idas.spi.BasicEntity |
addAttributeValue, equals, getContext, getModel, getSingleValuedAttribute, getType, getValueModel, isProxy, isSimple |
| Methods inherited from interface org.eclipse.higgins.idas.api.IEntity |
getContext, getModel, isProxy |
| Methods inherited from interface org.eclipse.higgins.idas.api.IValue |
getType, getValueModel, isSimple |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
addAttributeValue, getSingleValuedAttribute |
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
getEntityID
public String getEntityID()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntityID in interface org.eclipse.higgins.idas.api.IEntity- Overrides:
getEntityID in class org.eclipse.higgins.idas.spi.BasicEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntityType
public URI getEntityType()
throws org.eclipse.higgins.idas.api.IdASException
- 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- Overrides:
getAttributes in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
getAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
addAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
addAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
removeAttribute in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
removeAttributeValue in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
removeAttributeValue in class org.eclipse.higgins.idas.spi.BasicEntity
- 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.IValue- Overrides:
remove in class org.eclipse.higgins.idas.spi.BasicEntity
- 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- Overrides:
updateNotification in class org.eclipse.higgins.idas.spi.BasicEntity
- Throws:
org.eclipse.higgins.idas.api.IdASException