|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use IdASException | |
|---|---|
| org.eclipse.higgins.idas.api | Defines the core set of interfaces for IdAS. |
| org.eclipse.higgins.idas.api.model | This package defines core set of interfaces to simlify query and interpretation of IdAS context's schemas. |
| Uses of IdASException in org.eclipse.higgins.idas.api |
|---|
| Subclasses of IdASException in org.eclipse.higgins.idas.api | |
class |
AuthenticationException
Thrown when an attempt to authenticate has failed. |
class |
BadFilterException
|
class |
ContextNotOpenException
Thrown when methods requiring an open Context are called on a non-open Context. |
class |
ContextOpenException
Thrown when IContext.open() is called on an already open context. |
class |
EntityExistsException
|
class |
InvalidEntityIDException
Thrown when a specified Type is invalid. |
class |
InvalidTypeException
Thrown when a specified Type is invalid. |
class |
MultipleValuesExistException
Thrown in cases where an attribute is expected to have a single value but doesn't. |
class |
NoSuchEntityException
Thrown when a specified Entity is not found in the Context. |
class |
NotImplementedException
Thrown when the method being called has not been implemented by the context provider. |
class |
NotSingleValuedAttributeException
Thrown in cases where an attribute's model specifies that the attribute may hold multiple values and the caller expects the attribute to be restricted to a single value (and thus castable to ISingleValuedAttribute. |
class |
ValueAlreadyExistsException
Thrown in cases where a value is being added to an attribute and that value already exists. |
| Methods in org.eclipse.higgins.idas.api that throw IdASException | |
void |
IFilterEntityTypeAssertion.setAssertionValue(URI assertion)
Specifies the assertion data to be tested against an IEntity's type. |
URI |
IAttribute.getAttrID()
Returns the attribute ID of this attribute as a URI. |
Iterator |
IAttribute.getValues()
Returns all values for this attribute. |
IAttributeValue |
IAttribute.addValue(URI dataType)
Creates a new value for this attribute. |
IAttributeValue |
IAttribute.addValue(IAttributeValue copyFrom)
Creates a new value for this attribute by copying the passed IAttributeValue
Note: This operation is only applied to any backing data store after
IContext.applyUpdates() is called. |
ISimpleAttrValue |
IAttribute.addSimpleValue(URI dataType,
Object data)
Creates a new simple value for this attribute. |
IComplexAttrValue |
IAttribute.addComplexValue(URI dataType)
Creates a new complex value for this attribute. |
void |
IAttribute.remove()
Removes this attribute from its container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
IAttributeModel |
IAttribute.getModel()
Returns a model of this type of attribute as it defined in the context's schema. |
boolean |
IAttribute.isSingleValued()
Convenience method which returns true when the model for this attribute dictates that only a single value may exist. |
boolean |
IAttribute.equals(IAttribute attr)
Returns true if the passed attribute is equal to this one. |
boolean |
IAttributeValue.isSimple()
|
URI |
IAttributeValue.getDataType()
Deprecated. Instead, call IAttributeValue.getModel() and from that call IModel.getType().
Doing this is equivalent to calling this method. |
void |
IAttributeValue.remove()
Removes this value from its IAttribute container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
boolean |
IAttributeValue.equals(IAttributeValue value)
returns true if this IAttributeValue is equal to the passed IAttributeValue This should test the attribute ID, metadata, and the value for equality. |
IAttributeValueModel |
IAttributeValue.getModel()
Returns the model for this type of attribute value as it is defined in the context's schema. |
boolean |
IMetadataValue.isSimple()
|
void |
IMetadataValue.remove()
Removes this value from its IMetadata container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
boolean |
IMetadataValue.equals(IMetadataValue value)
returns true if this IMetadataValue is equal to the passed IMetadataValue This should test the metadata ID and the value for equality. |
IMetadataValueModel |
IMetadataValue.getModel()
Returns the model for this type of metadata value as it is defined in the context's schema. |
URI |
ITypedValue.getDataType()
|
String |
ITypedValue.getLexical()
Returns a lexical representation if this value is a literal |
String |
ITypedValue.getCanonical()
Returns the canonical representation if this value is a literal |
Object |
ITypedValue.getData()
Returns the underlying Java object holding this simple type's value. |
void |
ITypedValue.setData(Object data)
Sets the data for this simple value. |
void |
IContextRelation.addRelatedContext(URI contextID)
Adds the specified context ID as a related context Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
void |
IContextRelation.removeRelatedContext(URI contextID)
Removes the specified context ID as a related context Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
URI |
IContextRelation.getType()
Returns this relationship's type. |
Iterator |
IContextRelation.getRelatedObjects()
|
void |
IFilterMetadataAssertion.setAssertionValue(IMetadata assertion)
Specifies the assertion data to be tested against values of a metadata container's metadata. |
Iterator |
IHasMetadata.getMetadataSet()
Returns this Object's metadata elements as an Iterable. |
IMetadata |
IHasMetadata.getMetadata(URI metadataType)
Returns the specified metadata of this object. |
IMetadata |
IHasMetadata.addMetadata(URI metadataType)
Creates a new Metadata element for this container of metadata. |
IMetadata |
IHasMetadata.addMetadata(IMetadata copyFrom)
Creates a new Metadata element for this container of metadata by copying the data from the passed IMetadata. |
boolean |
IHasMetadata.equals(IHasMetadata metadataSet)
Returns true if the passed metadata set is equal to this one. |
String |
IContextFactory.getName()
|
Iterator |
IContextFactory.getContexts(String filter)
|
IContext |
IContextFactory.createContext(IContextId contextID)
Using a context ID, creates an instance of IContext and returns it. |
String |
IContextFactory.getPolicy()
Returns the policy in effect for this Context Factory. |
void |
IContextFactory.setPolicy(String policy)
Sets the policy for for this Context Factory. |
IContext |
IEntity.getContext()
|
String |
IEntity.getEntityID()
Returns the Contextually unique identifier of this Entity. |
URI |
IEntity.getEntityType()
Deprecated. Instead, call IEntity.getModel() and from that call IModel.getType().
Doing this is equivalent to calling this method. |
void |
IEntity.remove()
Removes this Entity from its Context. |
IEntityModel |
IEntity.getModel()
Returns a model of this type of Entities as it defined in the context's schema. |
void |
IFilterAssertion.setComparator(String comparator)
Set the comparison operator (equal, less, greater, beginsWith, etc.) |
void |
IFilterAssertion.setID(URI id,
boolean bIncludeSubtypes)
Identifies the component to be compared. For entity attribute assertions, this would be the type of the attribute (see IAttribute.getAttrID())For entity ID and entity type assertions, the type is not set. For entity metadata assertions, this would be the type of the metadata (see IMetadata#getID()) |
void |
IFilterAssertion.setID(URI id)
|
void |
IFilterAssertion.includeSubtypes(boolean bIncludeSubtypes)
Calling this the same as calling IFilterAssertion.setID(URI, boolean) and setting the boolean to true. |
String |
IContext.open(Object authentication)
Opens this Context using the provided authentication object. |
void |
IContext.close()
Closes this Context and returns it to an un-open state. |
boolean |
IContext.isOpen(Object identity)
Tests whether this context is open and authenticated using the specified identity |
String |
IContext.getSchema()
Returns the schema governing this context. |
void |
IContext.setSchema(String schema)
Sets the schema governing this context. |
IContextModel |
IContext.getContextModel()
Returns a model of the context object as it defined in the context's schema. |
URI |
IContext.getContextID()
Returns a reference to this Context. |
String |
IContext.exportData(String filter,
String representationFormat)
Exports this Context. |
void |
IContext.importData(String filter,
String representationFormat)
Imports this Context. |
IAuthNAttributesMaterials |
IContext.buildAuthNAttributesMaterials()
Builds an IAuthNAttributesMaterials that may be used when calling IContext.open(Object) |
IAttribute |
IContext.buildAttribute(URI attrID)
Builds an IAttribute (unassociated with any Entity). |
IFilter |
IContext.buildFilter()
Builds an IFilter instance that may be used when calling IContext.getEntities(IFilter) |
IFilterAttributeAssertion |
IContext.buildAttributeAssertion()
Builds an assertion for Entity Attributes (see IHasAttributes.getAttributes() and IHasAttributes.getAttribute(URI))
which can be passed to IFilter.setAssertion(IFilterAssertion) |
IFilterEntityIDAssertion |
IContext.buildEntityIDAssertion()
Builds an assertion for Entity IDs (see IEntity.getEntityID())
which can be passed to IFilter.setAssertion(IFilterAssertion)
Note that this is simply a convenience method equivalent to creating an
IFilterAttributeAssertion for the
http://www.eclipse.org/higgins/ontologies/2006/higgins#uniqueIdentifier attribute |
IFilterMetadataAssertion |
IContext.buildMetadataAssertion()
Builds an assertion for Entity Metadata (see IHasMetadata.getMetadataSet())
which can be passed to IFilter.setAssertion(IFilterAssertion) |
IFilterEntityTypeAssertion |
IContext.buildEntityTypeAssertion()
Builds an assertion for Entity Types (see IEntity.getEntityType())
which can be passed to IFilter.setAssertion(IFilterAssertion) |
ISimpleAttrValue |
IContext.buildSimpleAttrValue(URI dataType,
Object value)
Builds a simple attribute value to be passed to IFilterAttributeAssertion.setAssertionValue(IAttributeValue). |
IComplexAttrValue |
IContext.buildComplexAttrValue(URI dataType)
Builds a complex attribute value to be passed to IFilterAttributeAssertion.setAssertionValue(IAttributeValue). |
IContextRelation |
IContext.buildRelationship(URI relationshipType)
Builds a relationship to be passed to IContext.addRelationship(URI). |
IEntity |
IContext.addEntity(URI entityType,
String entityID)
Creates a new Entity for this Context. This call is typically followed by one or more calls to IHasAttributes.addAttribute(java.net.URI), IHasMetadata.addMetadata(java.net.URI)
on the returned IEntity
Note: This operation is only applied to any backing data
store after IContext.applyUpdates() |
IEntity |
IContext.addEntity(IEntity copyFrom)
Creates a new Entity for this Context by copying the data from the passed entity Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
IEntity |
IContext.getEntity(String entityID)
This is the same as passing null as the attrSelectionList in IContext.getEntity(String, Iterator) |
IEntity |
IContext.getEntity(String entityID,
Iterator attrSelectionList)
Returns the Entity matching the specified entityID. |
Iterator |
IContext.getEntities(IFilter filter)
|
Iterator |
IContext.getEntities(IFilter filter,
Iterator attrSelectionList)
From this context, return IEntitys that match the specified filter |
boolean |
IContext.verifyEntityAttributes(String entityID,
Iterator attributes)
Simple method for comparing a set of attribute assertions against a Entity. |
Iterator |
IContext.getRelationships()
Returns the relationships this Object has to others. |
IContextRelation |
IContext.addRelationship(URI relationshipType)
Adds a context relationship to this context. |
void |
IContext.applyUpdates()
Applies all update operations which have been called on this Context and called on any element held by this Context (including entities, metadata, attributes, attribute metadata and it's value(s), and attribute values) to a backing data store. |
void |
IContext.cancelUpdates()
Cancels all update operations which have been called on this Context and called on any element held by this Context (including entities, metadata, attributes, attribute metadata and it's value(s), and attribute values). |
void |
IFilterAttributeAssertion.setAssertionValue(IAttributeValue assertion)
Specifies the assertion data to be tested against values of a Entity's attribute. |
void |
IFilterAttributeAssertion.setMetadataFilter(IFilter metadataFilter)
Adds an attribute metadata filter to this attribute assertion. |
String[] |
IContextId.getTypes()
|
URI[] |
IContextId.getUris()
|
Map |
IContextId.getConfiguration()
|
URI |
IMetadata.getMetaID()
Returns the metadata ID of this metadata as a URI. |
Iterator |
IMetadata.getValues()
Returns all values for this metadata element. |
IMetadataValue |
IMetadata.addValue(URI dataType)
Creates a new value for this metadata element. |
IMetadataValue |
IMetadata.addValue(IMetadataValue copyFrom)
Creates a new value for this metadata element by copying the passed IMetadataValue
Note: This operation is only applied to any backing data store after
IContext.applyUpdates() is called. |
ISimpleMetaValue |
IMetadata.addSimpleValue(URI dataType,
Object data)
Creates a new simple value for this metadata element. |
IComplexMetaValue |
IMetadata.addComplexValue(URI dataType)
Creates a new complex value for this metadata element. |
void |
IMetadata.remove()
Removes this metadata element from its container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
IMetadataModel |
IMetadata.getModel()
Returns a model of this type of metadata as it defined in the context's schema. |
boolean |
IMetadata.isSingleValued()
Convenience method which returns true when the model for this metadata dictates that only a single value may exist. |
boolean |
IMetadata.equals(IMetadata meta)
Returns true if the passed metadata is equal to this one. |
void |
IFilter.setAssertion(IFilterAssertion assertion)
When this is called, IFilter.addFilter(IFilter) and IFilter.setOperator(String) may not be called. |
void |
IFilter.setOperator(String operator)
|
void |
IFilter.addFilter(IFilter filter)
Adds a filter to the set of filters. |
void |
IFilter.addFilter(IFilterAssertion filterAssertion)
Adds a filter containing the passed IFilterAssertion. |
void |
IFilterEntityIDAssertion.setAssertionValue(String assertion)
Specifies the assertion data to be tested against an IEntity's unique ID. |
IAttributeValue |
ISingleValuedAttribute.getValue()
Returns the value for this attribute. |
Iterator |
IHasAttributes.getAttributes()
Return all attributes of this object |
IAttribute |
IHasAttributes.getAttribute(URI attrID)
Returns the specified attribute of this object. |
ISingleValuedAttribute |
IHasAttributes.getSingleValuedAttribute(URI attrID)
Returns the specified attribute of this object as an ISingleValuedAttribute. |
IAttribute |
IHasAttributes.addAttribute(URI attrID)
Creates a new Attribute for this container of attributes (typically IEntity). |
IAttribute |
IHasAttributes.addAttribute(IAttribute copyFrom)
Creates a new Attribute for this container of attributes (typically IEntity) by copying the data from
the passed IAttribute. |
void |
IHasAttributes.removeAttribute(URI attrID)
Deletes the attribute specified by attrID. |
void |
IHasAttributes.removeAttributeValue(URI attrID,
Object value)
Deletes the specified value from the specified attrID. |
void |
IHasAttributes.removeAttributeValue(IAttribute attr)
Deletes an attribute's value(s) based on the information passed in attr. |
boolean |
IHasAttributes.equals(IHasAttributes attributes)
Returns true if the passed attribute set is equal to this one. |
| Uses of IdASException in org.eclipse.higgins.idas.api.model |
|---|
| Subclasses of IdASException in org.eclipse.higgins.idas.api.model | |
class |
IdASModelException
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||