org.opencrx.kernel.generic.jmi1
Interface CrxObject

All Superinterfaces:
AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, Cloneable, org.openmdx.base.cci2.ContextCapable, CrxObject, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, SecureObject, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
Absence, AbstractBundledProduct, AbstractGroup, AbstractInvoicePosition, AbstractOpportunityPosition, AbstractProduct, AbstractProductBundle, AbstractQuotePosition, AbstractRemovedPosition, AbstractSalesOrderPosition, AbstractTask, Account, AccountAddress, AccountAddress, 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, Booking, BookingPeriod, BookingText, Budget, BudgetMilestone, Building, BuildingComplex, BuildingUnit, BundledProduct, BundledProductDepotPosition, BundledProductType, CalculationRule, Calendar, Class, ClassificationElement, Classifier, CollectionType, Competitor, ComplexProductBundle, ComplexProductBundleDepotPosition, ComplexProductBundleType, CompoundBooking, Constant, Constraint, Contact, ContactMembership, ContactRelationship, ContactRole, ContractAddress, 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, Fax, Feature, Forecast, ForecastPeriod, GeneralizableElement, Group, ImplementationPart, Import, Incident, InterfaceSpec, InventoryItem, Invoice, InvoiceBundledProductPosition, InvoiceComplexProductBundlePosition, InvoicePosition, InvoiceProductBundlePosition, InvoiceProductOfferingPosition, Lead, LegalEntity, LinkableItemLinkTo, LinkedActivityFollowUpAction, Mailing, Meeting, Member, Mms, MmsSlide, Namespace, Operation, Opportunity, OpportunityBundledProductPosition, OpportunityComplexProductBundlePosition, OpportunityPosition, OpportunityProductBundlePosition, OpportunityProductOfferingPosition, Organization, OrganizationalUnit, OrganizationalUnitRelationship, Package, Parameter, Part, PhoneCall, PhoneNumber, PhoneNumber, PhoneNumber, PostalAddress, PostalAddress, PostalAddress, PriceLevel, PriceOverrideEnabled, PricingRule, PrimitiveType, Product, ProductAddress, ProductApplication, ProductBasePrice, ProductBundle, ProductBundleContainer, ProductBundleDepotPosition, ProductBundleType, ProductClassification, ProductClassificationRelationship, ProductDepotPosition, ProductOffering, ProductOfferingDepotPosition, Profile, Quote, QuoteBundledProductPosition, QuoteComplexProductBundlePosition, QuotePosition, QuoteProductBundlePosition, QuoteProductOfferingPosition, Reference, RelatedProduct, RemovedBundledProductPosition, RemovedComplexProductBundlePosition, RemovedPosition, RemovedProductBundlePosition, RemovedProductOfferingPosition, RequirementDiagram, RequirementModel, RequirementPart, Resource, RevenueReport, Room, Room, SalesOrder, SalesOrderBundledProductPosition, SalesOrderComplexProductBundlePosition, SalesOrderPosition, SalesOrderProductBundlePosition, SalesOrderProductOfferingPosition, SalesTaxType, SalesVisit, SetActualEndAction, SetActualStartAction, SetAssignedToAction, Site, Slot, Sms, 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, Importer, Indexed, SecureObject, SubscriptionTarget, XmlExporter, org.openmdx.base.jmi1.BasicObject

Abstract class CrxObject


Method Summary
 void addAdditionalExternalLink(AdditionalExternalLink newValue)
          
 void addAdditionalExternalLink(String id, AdditionalExternalLink newValue)
          
 void addAttachedDocument(DocumentAttachment newValue)
          
 void addAttachedDocument(String id, DocumentAttachment newValue)
          
 void addMedia(Media newValue)
          
 void addMedia(String id, Media newValue)
          
 void addNote(Note newValue)
          
 void addNote(String id, Note newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addPropertySet(PropertySet newValue)
          
 void addPropertySet(String id, PropertySet newValue)
          
 void addRating(Rating newValue)
          
 void addRating(String id, Rating newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends AdditionalExternalLink>
List<T>
getAdditionalExternalLink(AdditionalExternalLinkQuery query)
          Retrieves the value for the reference additionalExternalLink for the specified query.
<T extends DocumentAttachment>
List<T>
getAttachedDocument(DocumentAttachmentQuery query)
          Retrieves the value for the reference attachedDocument for the specified query.
<T extends AuditEntry>
List<T>
getAudit(AuditEntryQuery query)
          Retrieves the value for the reference audit for the specified query.
 String getCategory(int index)
           
 URI getExternalLink(int index)
           
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
<T extends Media>
List<T>
getMedia(MediaQuery query)
          Retrieves the value for the reference media for the specified query.
<T extends Note>
List<T>
getNote(NoteQuery query)
          Retrieves the value for the reference note for the specified query.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
<T extends PropertySet>
List<T>
getPropertySet(PropertySetQuery query)
          Retrieves the value for the reference propertySet for the specified query.
<T extends PropertySetEntry>
List<T>
getPropertySetEntry(PropertySetEntryQuery query)
          Retrieves the value for the reference propertySetEntry for the specified query.
<T extends Rating>
List<T>
getRating(RatingQuery query)
          Retrieves the value for the reference rating for the specified query.
 boolean getUserBoolean4(int index)
           
 short getUserCode4(int index)
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate4(int index)
           
 Date getUserDateTime4(int index)
           
 BigDecimal getUserNumber4(int index)
           
 String getUserString4(int index)
           
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeAdditionalExternalLink(String id)
          
 void removeAttachedDocument(String id)
          
 void removeMedia(String id)
          
 void removeNote(String id)
          
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePropertySet(String id)
          
 void removeRating(String id)
          
 void setCategory(List<String> category)
           This method is equivalent to
 void setExternalLink(List<URI> externalLink)
           This method is equivalent to
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setUserBoolean4(List<Boolean> userBoolean4)
           This method is equivalent to
 void setUserCode4(List<Short> userCode4)
           This method is equivalent to
 void setUserDate4(List<javax.xml.datatype.XMLGregorianCalendar> userDate4)
           This method is equivalent to
 void setUserDateTime4(List<Date> userDateTime4)
           This method is equivalent to
 void setUserNumber4(List<BigDecimal> userNumber4)
           This method is equivalent to
 void setUserString4(List<String> userString4)
           This method is equivalent to
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, 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.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.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, getOwner, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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

getAudit

<T extends AuditEntry> List<T> getAudit(AuditEntryQuery query)
Retrieves the value for the reference audit for the specified query.

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

getIndexEntry

<T extends IndexEntry> List<T> getIndexEntry(IndexEntryQuery query)
Retrieves the value for the reference indexEntry for the specified query.

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

getAccessGrantedByParent

org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

addOwningGroup

void addOwningGroup(int index,
                    PrincipalGroup newValue)

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

addOwningGroup

void addOwningGroup(PrincipalGroup newValue)

Parameters:
newValue - The element to be appended.

removeOwningGroup

void removeOwningGroup(int index)


getOwningUser

User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

removeOwningUser

void removeOwningUser()
Removes the value for the optional reference owningUser.


getAdditionalExternalLink

<T extends AdditionalExternalLink> List<T> getAdditionalExternalLink(AdditionalExternalLinkQuery query)
Retrieves the value for the reference additionalExternalLink for the specified query.

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

addAdditionalExternalLink

void addAdditionalExternalLink(String id,
                               AdditionalExternalLink newValue)

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

addAdditionalExternalLink

void addAdditionalExternalLink(AdditionalExternalLink newValue)

Parameters:
newValue - The element to be appended.

removeAdditionalExternalLink

void removeAdditionalExternalLink(String id)


getAttachedDocument

<T extends DocumentAttachment> List<T> getAttachedDocument(DocumentAttachmentQuery query)
Retrieves the value for the reference attachedDocument for the specified query.

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

addAttachedDocument

void addAttachedDocument(String id,
                         DocumentAttachment newValue)

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

addAttachedDocument

void addAttachedDocument(DocumentAttachment newValue)

Parameters:
newValue - The element to be appended.

removeAttachedDocument

void removeAttachedDocument(String id)


getCategory

String getCategory(int index)
Returns:
An element of this attribute.

setCategory

void setCategory(List<String> category)

This method is equivalent to

   list.clear();
   list.addAll(category);
 

Parameters:
category - collection to be copied.

getExternalLink

URI getExternalLink(int index)
Returns:
An element of this attribute.

setExternalLink

void setExternalLink(List<URI> externalLink)

This method is equivalent to

   list.clear();
   list.addAll(externalLink);
 

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.

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

addMedia

void addMedia(String id,
              Media newValue)

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

addMedia

void addMedia(Media newValue)

Parameters:
newValue - The element to be appended.

removeMedia

void removeMedia(String id)


getNote

<T extends Note> List<T> getNote(NoteQuery query)
Retrieves the value for the reference note for the specified query.

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

addNote

void addNote(String id,
             Note newValue)

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

addNote

void addNote(Note newValue)

Parameters:
newValue - The element to be appended.

removeNote

void removeNote(String id)


getPropertySet

<T extends PropertySet> List<T> getPropertySet(PropertySetQuery query)
Retrieves the value for the reference propertySet for the specified query.

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

addPropertySet

void addPropertySet(String id,
                    PropertySet newValue)

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

addPropertySet

void addPropertySet(PropertySet newValue)

Parameters:
newValue - The element to be appended.

removePropertySet

void removePropertySet(String id)


getPropertySetEntry

<T extends PropertySetEntry> List<T> getPropertySetEntry(PropertySetEntryQuery query)
Retrieves the value for the reference propertySetEntry for the specified query.

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

getRating

<T extends Rating> List<T> getRating(RatingQuery query)
Retrieves the value for the reference rating for the specified query.

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

addRating

void addRating(String id,
               Rating newValue)

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

addRating

void addRating(Rating newValue)

Parameters:
newValue - The element to be appended.

removeRating

void removeRating(String id)


getUserBoolean4

boolean getUserBoolean4(int index)
Returns:
An element of this attribute.

setUserBoolean4

void setUserBoolean4(List<Boolean> userBoolean4)

This method is equivalent to

   list.clear();
   list.addAll(userBoolean4);
 

Parameters:
userBoolean4 - collection to be copied.

getUserCode4

short getUserCode4(int index)
Returns:
An element of this attribute.

setUserCode4

void setUserCode4(List<Short> userCode4)

This method is equivalent to

   list.clear();
   list.addAll(userCode4);
 

Parameters:
userCode4 - collection to be copied.

getUserDate4

javax.xml.datatype.XMLGregorianCalendar getUserDate4(int index)
Returns:
An element of this attribute.

setUserDate4

void setUserDate4(List<javax.xml.datatype.XMLGregorianCalendar> userDate4)

This method is equivalent to

   list.clear();
   list.addAll(userDate4);
 

Parameters:
userDate4 - collection to be copied.

getUserDateTime4

Date getUserDateTime4(int index)
Returns:
An element of this attribute.

setUserDateTime4

void setUserDateTime4(List<Date> userDateTime4)

This method is equivalent to

   list.clear();
   list.addAll(userDateTime4);
 

Parameters:
userDateTime4 - collection to be copied.

getUserNumber4

BigDecimal getUserNumber4(int index)
Returns:
An element of this attribute.

setUserNumber4

void setUserNumber4(List<BigDecimal> userNumber4)

This method is equivalent to

   list.clear();
   list.addAll(userNumber4);
 

Parameters:
userNumber4 - collection to be copied.

getUserString4

String getUserString4(int index)
Returns:
An element of this attribute.

setUserString4

void setUserString4(List<String> userString4)

This method is equivalent to

   list.clear();
   list.addAll(userString4);
 

Parameters:
userString4 - collection to be copied.

getView

<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the specified query.

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


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