org.opencrx.kernel.uom1.jmi1
Interface Uom

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, DescriptionContainer, org.openmdx.base.cci2.ExtentCapable, Importer, RefBaseObject, RefFeatured, RefObject, SecureObject, Uom, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter

public interface Uom
extends Uom, Importer, SecureObject, XmlExporter, DescriptionContainer, org.openmdx.base.jmi1.BasicObject

Class Uom


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.uom1.cci2.Uom
Uom.Identity
 
Method Summary
 void addAdditionalDescription(Description newValue)
          
 void addAdditionalDescription(String id, Description newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends Description>
List<T>
getAdditionalDescription(DescriptionQuery query)
          Retrieves the value for the reference additionalDescription for the specified query.
 Uom getBaseUom()
          Retrieves the value for the reference baseUom.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 UomSchedule getUomSchedule()
          Retrieves the value for the reference uomSchedule.
<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 removeAdditionalDescription(String id)
          
 void removeBaseUom()
          Removes the value for the optional reference baseUom.
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void setBaseUom(Uom baseUom)
          Sets a new value for the reference baseUom.
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:uom1:SegmentContainsUom.
 void setUomSchedule(UomSchedule uomSchedule)
          Sets a new value for the reference uomSchedule.
 
Methods inherited from interface org.opencrx.kernel.uom1.cci2.Uom
getDescription, getDetailedDescription, getName, getQuantity, isScheduleBaseUom, setDescription, setDetailedDescription, setName, setQuantity, setScheduleBaseUom
 
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.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.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 
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

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.


getAdditionalDescription

<T extends Description> List<T> getAdditionalDescription(DescriptionQuery query)
Retrieves the value for the reference additionalDescription 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.

addAdditionalDescription

void addAdditionalDescription(String id,
                              Description newValue)

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

addAdditionalDescription

void addAdditionalDescription(Description newValue)

Parameters:
newValue - The element to be appended.

removeAdditionalDescription

void removeAdditionalDescription(String id)


getBaseUom

Uom getBaseUom()
Retrieves the value for the reference baseUom.

Specified by:
getBaseUom in interface Uom
Returns:
The – possibly null – value for this reference.

setBaseUom

void setBaseUom(Uom baseUom)
Sets a new value for the reference baseUom.

Specified by:
setBaseUom in interface Uom
Parameters:
baseUom - The non-null new value for this reference.

removeBaseUom

void removeBaseUom()
Removes the value for the optional reference baseUom.


getUomSchedule

UomSchedule getUomSchedule()
Retrieves the value for the reference uomSchedule.

Specified by:
getUomSchedule in interface Uom
Returns:
The non-null value for this reference.

setUomSchedule

void setUomSchedule(UomSchedule uomSchedule)
Sets a new value for the reference uomSchedule.

Specified by:
setUomSchedule in interface Uom
Parameters:
uomSchedule - The non-null new value for this reference.

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.

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

Specified by:
setSegment in interface Uom
Parameters:
segment - The non-null new value for this reference.

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:opencrx:kernel:uom1:SegmentContainsUom.

Specified by:
setSegment in interface Uom
Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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