org.opencrx.kernel.generic.jmi1
Interface CrxObject

All Superinterfaces:
AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, Creatable, CrxObject, Exporter, ExtentCapable, Importer, Indexed, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject
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, Datatype, DebitBooking, DeliveryInformation, DeliveryRequest, Depot, DepotContract, DepotEntity, DepotEntityRelationship, DepotGroup, DepotHolder, DepotPosition, DepotReport, DepotType, Descriptor, DescriptorGroup, DesignDiagram, DesignModel, DesignPart, 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, Meeting, Member, Namespace, 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, RevenueReport, Room, Room, SalesOrder, SalesOrderPosition, SalesTaxType, SalesVisit, 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 CrxObject
extends CrxObject, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, BasicObject

Abstract class CrxObject

ACTIVE 0 The object is active. INACTIVE 1 The object is inactive. isFrozen


Method Summary
 void addAdditionalExternalLink(boolean idIsPersistent, String id, AdditionalExternalLink additionalExternalLink)
          Adds the specified element to the set of the values for the reference additionalExternalLink.
 void addAdditionalExternalLink(String id, AdditionalExternalLink additionalExternalLink)
          Adds the specified element to the set of the values for the reference additionalExternalLink using a reassignable qualifier.
 void addAttachedDocument(boolean idIsPersistent, String id, DocumentAttachment attachedDocument)
          Adds the specified element to the set of the values for the reference attachedDocument.
 void addAttachedDocument(String id, DocumentAttachment attachedDocument)
          Adds the specified element to the set of the values for the reference attachedDocument using a reassignable qualifier.
 void addDocumentFolderAssignment(boolean idIsPersistent, String id, DocumentFolderAssignment documentFolderAssignment)
          Adds the specified element to the set of the values for the reference documentFolderAssignment.
 void addDocumentFolderAssignment(String id, DocumentFolderAssignment documentFolderAssignment)
          Adds the specified element to the set of the values for the reference documentFolderAssignment using a reassignable qualifier.
 void addMedia(boolean idIsPersistent, String id, Media media)
          Adds the specified element to the set of the values for the reference media.
 void addMedia(String id, Media media)
          Adds the specified element to the set of the values for the reference media using a reassignable qualifier.
 void addNote(boolean idIsPersistent, String id, Note note)
          Adds the specified element to the set of the values for the reference note.
 void addNote(String id, Note note)
          Adds the specified element to the set of the values for the reference note using a reassignable qualifier.
 void addPropertySet(boolean idIsPersistent, String id, PropertySet propertySet)
          Adds the specified element to the set of the values for the reference propertySet.
 void addPropertySet(String id, PropertySet propertySet)
          Adds the specified element to the set of the values for the reference propertySet using a reassignable qualifier.
 void addRating(boolean idIsPersistent, String id, Rating rating)
          Adds the specified element to the set of the values for the reference rating.
 void addRating(String id, Rating rating)
          Adds the specified element to the set of the values for the reference rating using a reassignable qualifier.
<T extends AdditionalExternalLink>
List<T>
getAdditionalExternalLink(AdditionalExternalLinkQuery query)
          Retrieves the value for the reference additionalExternalLink for the specified query.
 AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.
 AdditionalExternalLink getAdditionalExternalLink(String id)
          Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.
 DocumentAttachment getAttachedDocument(boolean idIsPersistent, String id)
          Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.
<T extends DocumentAttachment>
List<T>
getAttachedDocument(DocumentAttachmentQuery query)
          Retrieves the value for the reference attachedDocument for the specified query.
 DocumentAttachment getAttachedDocument(String id)
          Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.
 List<String> getCategory()
          Retrieves a list containing all the elements for the attribute category.
 DocumentFolderAssignment getDocumentFolderAssignment(boolean idIsPersistent, String id)
          Retrieves the value for the reference documentFolderAssignment for the specified qualifier attribute value.
<T extends DocumentFolderAssignment>
List<T>
getDocumentFolderAssignment(DocumentFolderAssignmentQuery query)
          Retrieves the value for the reference documentFolderAssignment for the specified query.
 DocumentFolderAssignment getDocumentFolderAssignment(String id)
          Retrieves the value for the reference documentFolderAssignment for the specified qualifier attribute value.
 List<String> getExternalLink()
          Retrieves a list containing all the elements for the attribute externalLink.
 Media getMedia(boolean idIsPersistent, String id)
          Retrieves the value for the reference media for the specified qualifier attribute value.
<T extends Media>
List<T>
getMedia(MediaQuery query)
          Retrieves the value for the reference media for the specified query.
 Media getMedia(String id)
          Retrieves the value for the reference media for the specified qualifier attribute value.
 Note getNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference note for the specified qualifier attribute value.
<T extends Note>
List<T>
getNote(NoteQuery query)
          Retrieves the value for the reference note for the specified query.
 Note getNote(String id)
          Retrieves the value for the reference note for the specified qualifier attribute value.
 PropertySet getPropertySet(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySet for the specified qualifier attribute value.
<T extends PropertySet>
List<T>
getPropertySet(PropertySetQuery query)
          Retrieves the value for the reference propertySet for the specified query.
 PropertySet getPropertySet(String id)
          Retrieves the value for the reference propertySet for the specified qualifier attribute value.
 PropertySetEntry getPropertySetEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.
<T extends PropertySetEntry>
List<T>
getPropertySetEntry(PropertySetEntryQuery query)
          Retrieves the value for the reference propertySetEntry for the specified query.
 PropertySetEntry getPropertySetEntry(String id)
          Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.
 Rating getRating(boolean idIsPersistent, String id)
          Retrieves the value for the reference rating for the specified qualifier attribute value.
<T extends Rating>
List<T>
getRating(RatingQuery query)
          Retrieves the value for the reference rating for the specified query.
 Rating getRating(String id)
          Retrieves the value for the reference rating for the specified qualifier attribute value.
 List<Boolean> getUserBoolean4()
          Retrieves a list containing all the elements for the attribute userBoolean4.
 List<Short> getUserCode4()
          Retrieves a list containing all the elements for the attribute userCode4.
 List<XMLGregorianCalendar> getUserDate4()
          Retrieves a list containing all the elements for the attribute userDate4.
 List<Date> getUserDateTime4()
          Retrieves a list containing all the elements for the attribute userDateTime4.
 List<BigDecimal> getUserNumber4()
          Retrieves a list containing all the elements for the attribute userNumber4.
 List<String> getUserString4()
          Retrieves a list containing all the elements for the attribute userString4.
 void setCategory(List<String> category)
          Clears category and adds the members of the given List.
 void setExternalLink(List<String> externalLink)
          Clears externalLink and adds the members of the given List.
 void setUserBoolean4(List<Boolean> userBoolean4)
          Clears userBoolean4 and adds the members of the given List.
 void setUserCode4(List<Short> userCode4)
          Clears userCode4 and adds the members of the given List.
 void setUserDate4(List<XMLGregorianCalendar> userDate4)
          Clears userDate4 and adds the members of the given List.
 void setUserDateTime4(List<Date> userDateTime4)
          Clears userDateTime4 and adds the members of the given List.
 void setUserNumber4(List<BigDecimal> userNumber4)
          Clears userNumber4 and adds the members of the given List.
 void setUserString4(List<String> userString4)
          Clears userString4 and adds the members of the given List.
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.jmi1.Creatable
getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.jmi1.Modifiable
getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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

getAdditionalExternalLink

<T extends AdditionalExternalLink> List<T> getAdditionalExternalLink(AdditionalExternalLinkQuery query)
Retrieves the value for the reference additionalExternalLink 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.

getAdditionalExternalLink

AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent,
                                                 String id)
Retrieves the value for the reference additionalExternalLink 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

getAdditionalExternalLink

AdditionalExternalLink getAdditionalExternalLink(String id)
Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.

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

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

addAdditionalExternalLink

void addAdditionalExternalLink(boolean idIsPersistent,
                               String id,
                               AdditionalExternalLink additionalExternalLink)
Adds the specified element to the set of the values for the reference additionalExternalLink.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalExternalLink - The element to be appended.

addAdditionalExternalLink

void addAdditionalExternalLink(String id,
                               AdditionalExternalLink additionalExternalLink)
Adds the specified element to the set of the values for the reference additionalExternalLink using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalExternalLink - The element to be appended.

getAttachedDocument

<T extends DocumentAttachment> List<T> getAttachedDocument(DocumentAttachmentQuery query)
Retrieves the value for the reference attachedDocument 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.

getAttachedDocument

DocumentAttachment getAttachedDocument(boolean idIsPersistent,
                                       String id)
Retrieves the value for the reference attachedDocument 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

getAttachedDocument

DocumentAttachment getAttachedDocument(String id)
Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.

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

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

addAttachedDocument

void addAttachedDocument(boolean idIsPersistent,
                         String id,
                         DocumentAttachment attachedDocument)
Adds the specified element to the set of the values for the reference attachedDocument.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
attachedDocument - The element to be appended.

addAttachedDocument

void addAttachedDocument(String id,
                         DocumentAttachment attachedDocument)
Adds the specified element to the set of the values for the reference attachedDocument using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
attachedDocument - The element to be appended.

getCategory

List<String> getCategory()
Retrieves a list containing all the elements for the attribute category.

Specified by:
getCategory in interface CrxObject
Returns:
A list containing all elements for this attribute.

setCategory

void setCategory(List<String> category)
Clears category and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(category);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
category - collection to be copied.

getDocumentFolderAssignment

<T extends DocumentFolderAssignment> List<T> getDocumentFolderAssignment(DocumentFolderAssignmentQuery query)
Retrieves the value for the reference documentFolderAssignment 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.

getDocumentFolderAssignment

DocumentFolderAssignment getDocumentFolderAssignment(boolean idIsPersistent,
                                                     String id)
Retrieves the value for the reference documentFolderAssignment 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

getDocumentFolderAssignment

DocumentFolderAssignment getDocumentFolderAssignment(String id)
Retrieves the value for the reference documentFolderAssignment for the specified qualifier attribute value.

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

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

addDocumentFolderAssignment

void addDocumentFolderAssignment(boolean idIsPersistent,
                                 String id,
                                 DocumentFolderAssignment documentFolderAssignment)
Adds the specified element to the set of the values for the reference documentFolderAssignment.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
documentFolderAssignment - The element to be appended.

addDocumentFolderAssignment

void addDocumentFolderAssignment(String id,
                                 DocumentFolderAssignment documentFolderAssignment)
Adds the specified element to the set of the values for the reference documentFolderAssignment using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
documentFolderAssignment - The element to be appended.

getExternalLink

List<String> getExternalLink()
Retrieves a list containing all the elements for the attribute externalLink.

Specified by:
getExternalLink in interface CrxObject
Returns:
A list containing all elements for this attribute.

setExternalLink

void setExternalLink(List<String> externalLink)
Clears externalLink and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(externalLink);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
externalLink - collection to be copied.

getMedia

<T extends Media> List<T> getMedia(MediaQuery query)
Retrieves the value for the reference media 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.

getMedia

Media getMedia(boolean idIsPersistent,
               String id)
Retrieves the value for the reference media 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

getMedia

Media getMedia(String id)
Retrieves the value for the reference media for the specified qualifier attribute value.

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

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

addMedia

void addMedia(boolean idIsPersistent,
              String id,
              Media media)
Adds the specified element to the set of the values for the reference media.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
media - The element to be appended.

addMedia

void addMedia(String id,
              Media media)
Adds the specified element to the set of the values for the reference media using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
media - The element to be appended.

getNote

<T extends Note> List<T> getNote(NoteQuery query)
Retrieves the value for the reference note 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.

getNote

Note getNote(boolean idIsPersistent,
             String id)
Retrieves the value for the reference note 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

getNote

Note getNote(String id)
Retrieves the value for the reference note for the specified qualifier attribute value.

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

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

addNote

void addNote(boolean idIsPersistent,
             String id,
             Note note)
Adds the specified element to the set of the values for the reference note.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
note - The element to be appended.

addNote

void addNote(String id,
             Note note)
Adds the specified element to the set of the values for the reference note using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
note - The element to be appended.

getPropertySet

<T extends PropertySet> List<T> getPropertySet(PropertySetQuery query)
Retrieves the value for the reference propertySet 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.

getPropertySet

PropertySet getPropertySet(boolean idIsPersistent,
                           String id)
Retrieves the value for the reference propertySet 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

getPropertySet

PropertySet getPropertySet(String id)
Retrieves the value for the reference propertySet for the specified qualifier attribute value.

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

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

addPropertySet

void addPropertySet(boolean idIsPersistent,
                    String id,
                    PropertySet propertySet)
Adds the specified element to the set of the values for the reference propertySet.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
propertySet - The element to be appended.

addPropertySet

void addPropertySet(String id,
                    PropertySet propertySet)
Adds the specified element to the set of the values for the reference propertySet using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
propertySet - The element to be appended.

getPropertySetEntry

<T extends PropertySetEntry> List<T> getPropertySetEntry(PropertySetEntryQuery query)
Retrieves the value for the reference propertySetEntry 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.

getPropertySetEntry

PropertySetEntry getPropertySetEntry(boolean idIsPersistent,
                                     String id)
Retrieves the value for the reference propertySetEntry 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

getPropertySetEntry

PropertySetEntry getPropertySetEntry(String id)
Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.

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

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

getRating

<T extends Rating> List<T> getRating(RatingQuery query)
Retrieves the value for the reference rating 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.

getRating

Rating getRating(boolean idIsPersistent,
                 String id)
Retrieves the value for the reference rating 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

getRating

Rating getRating(String id)
Retrieves the value for the reference rating for the specified qualifier attribute value.

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

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

addRating

void addRating(boolean idIsPersistent,
               String id,
               Rating rating)
Adds the specified element to the set of the values for the reference rating.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
rating - The element to be appended.

addRating

void addRating(String id,
               Rating rating)
Adds the specified element to the set of the values for the reference rating using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
rating - The element to be appended.

getUserBoolean4

List<Boolean> getUserBoolean4()
Retrieves a list containing all the elements for the attribute userBoolean4.

Specified by:
getUserBoolean4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserBoolean4

void setUserBoolean4(List<Boolean> userBoolean4)
Clears userBoolean4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userBoolean4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userBoolean4 - collection to be copied.

getUserCode4

List<Short> getUserCode4()
Retrieves a list containing all the elements for the attribute userCode4.

Specified by:
getUserCode4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserCode4

void setUserCode4(List<Short> userCode4)
Clears userCode4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userCode4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userCode4 - collection to be copied.

getUserDate4

List<XMLGregorianCalendar> getUserDate4()
Retrieves a list containing all the elements for the attribute userDate4.

Specified by:
getUserDate4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDate4

void setUserDate4(List<XMLGregorianCalendar> userDate4)
Clears userDate4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userDate4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userDate4 - collection to be copied.

getUserDateTime4

List<Date> getUserDateTime4()
Retrieves a list containing all the elements for the attribute userDateTime4.

Specified by:
getUserDateTime4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDateTime4

void setUserDateTime4(List<Date> userDateTime4)
Clears userDateTime4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userDateTime4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userDateTime4 - collection to be copied.

getUserNumber4

List<BigDecimal> getUserNumber4()
Retrieves a list containing all the elements for the attribute userNumber4.

Specified by:
getUserNumber4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserNumber4

void setUserNumber4(List<BigDecimal> userNumber4)
Clears userNumber4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userNumber4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userNumber4 - collection to be copied.

getUserString4

List<String> getUserString4()
Retrieves a list containing all the elements for the attribute userString4.

Specified by:
getUserString4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserString4

void setUserString4(List<String> userString4)
Clears userString4 and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(userString4);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
userString4 - collection to be copied.


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