org.opencrx.kernel.base.jmi1
Interface Indexed

All Superinterfaces:
Indexed, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
Absence, AbstractContract, AbstractGroup, AbstractInvoicePosition, AbstractOpportunityPosition, AbstractPriceLevel, AbstractProduct, AbstractQuotePosition, AbstractRemovedPosition, AbstractSalesOrderPosition, AbstractTask, Account, AccountAddress, AccountAddress, AccountAssignmentContract, AccountAssignmentInventoryItem, AccountAssignmentProduct, AccountFilterGlobal, Activity, ActivityCategory, ActivityCreationAction, ActivityCreator, ActivityFilterGlobal, ActivityFollowUp, ActivityMilestone, ActivityProcess, ActivityProcessAction, ActivityProcessState, ActivityProcessTransition, ActivityTracker, ActivityType, AddressFilterGlobal, AddressGroup, AddressGroupMember, AliasType, Artifact, ArtifactContext, ArtifactDependency, Asset, AssetContext, Association, AssociationEnd, Attribute, BehaviouralFeature, BookingPeriod, BookingText, Budget, Building, BuildingComplex, BuildingUnit, CalculationRule, Calendar, Class, ClassificationElement, Classifier, CollectionType, Competitor, CompoundBooking, Constant, Constraint, Contact, ContactMembership, ContactRelationship, ContactRole, ContractAddress, ContractFilterGlobal, ContractLinkTo, CreditBooking, CreditLimit, CrxObject, Datatype, DebitBooking, DeliveryInformation, DeliveryRequest, Depot, DepotContract, DepotEntity, DepotEntityRelationship, DepotGroup, DepotHolder, DepotPosition, DepotReport, DepotType, Descriptor, DescriptorGroup, DesignDiagram, DesignModel, DesignPart, Document, DocumentFolder, DocumentRevision, Element, EMail, EMailAddress, EMailAddress, EMailAddress, EmploymentContract, EnumerationType, Event, Exception, ExternalActivity, ExternalTask, Facility, Feature, GeneralizableElement, Group, ImplementationPart, Import, Incident, InterfaceSpec, InventoryItem, Invoice, InvoicePosition, InvolvedObject, Lead, LegalEntity, LinkableItemLinkTo, LinkedActivityFollowUpAction, Mailing, Media, MediaContent, MediaReference, Meeting, Member, Namespace, Note, Operation, Opportunity, OpportunityPosition, Organization, OrganizationalUnit, OrganizationalUnitRelationship, Package, Parameter, Part, PhoneCall, PhoneNumber, PhoneNumber, PhoneNumber, PostalAddress, PostalAddress, PostalAddress, PriceLevel, PricingRule, PrimitiveType, Product, ProductAddress, ProductApplication, ProductBasePrice, ProductClassification, ProductClassificationRelationship, ProductDepotPosition, ProductFilterGlobal, ProductPhase, ProductPhasePriceLevel, Profile, Quote, QuotePosition, Reference, RelatedProduct, RemovedPosition, RequirementDiagram, RequirementModel, RequirementPart, Resource, ResourceIdentifier, RevenueReport, Room, Room, SalesOrder, SalesOrderPosition, SalesTaxType, SalesVisit, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, SetActualEndAction, SetActualStartAction, SetAssignedToAction, SingleBooking, Site, Slot, SolutionPart, StructuralFeature, StructureField, StructureType, Tag, Task, TestDiagram, TestModel, TestPart, Topic, TypedElement, UnspecifiedAccount, UseCase, VariabilityPoint, Warehouse, WebAddress, WebAddress, WebAddress, WfAction, WfProcess

public interface Indexed
extends Indexed, RefObject_1_0

Class Indexed


Method Summary
 IndexEntry getIndexEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
 IndexEntry getIndexEntry(String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
 UpdateIndexResult updateIndex()
           
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getIndexEntry

<T extends IndexEntry> List<T> getIndexEntry(IndexEntryQuery query)
Retrieves the value for the reference indexEntry for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getIndexEntry

IndexEntry getIndexEntry(boolean idIsPersistent,
                         String id)
Retrieves the value for the reference indexEntry for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getIndexEntry

IndexEntry getIndexEntry(String id)
Retrieves the value for the reference indexEntry for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getIndexEntry(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

updateIndex

UpdateIndexResult updateIndex()
Specified by:
updateIndex in interface Indexed


This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.