org.opencrx.kernel.depot1.cci2
Interface Segment

All Superinterfaces:
Auditee, org.openmdx.base.cci2.ContextCapable, Importer, Indexed, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
Segment

public interface Segment
extends Segment, Auditee, Importer, Indexed, SecureObject, XmlExporter

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Method Summary
 void addDepotType(boolean idIsPersistent, String id, DepotType depotType)
          Adds the specified element to the set of the values for the reference depotType.
 void addEntity(boolean idIsPersistent, String id, DepotEntity entity)
          Adds the specified element to the set of the values for the reference entity.
 void addEntityRelationship(boolean idIsPersistent, String id, DepotEntityRelationship entityRelationship)
          Adds the specified element to the set of the values for the reference entityRelationship.
 void addSimpleBooking(boolean idIsPersistent, String id, SimpleBooking simpleBooking)
          Adds the specified element to the set of the values for the reference simpleBooking.
<T extends SingleBooking>
Collection<T>
getBooking()
          Retrieves a set containing all the elements for the reference booking.
 SingleBooking getBooking(boolean idIsPersistent, String id)
          Retrieves the value for the reference booking for the specified qualifier attribute value.
<T extends CompoundBooking>
Collection<T>
getCb()
          Retrieves a set containing all the elements for the reference cb.
 CompoundBooking getCb(boolean idIsPersistent, String id)
          Retrieves the value for the reference cb for the specified qualifier attribute value.
<T extends DepotType>
Collection<T>
getDepotType()
          Retrieves a set containing all the elements for the reference depotType.
 DepotType getDepotType(boolean idIsPersistent, String id)
          Retrieves the value for the reference depotType for the specified qualifier attribute value.
<T extends DepotEntity>
Collection<T>
getEntity()
          Retrieves a set containing all the elements for the reference entity.
 DepotEntity getEntity(boolean idIsPersistent, String id)
          Retrieves the value for the reference entity for the specified qualifier attribute value.
<T extends DepotEntityRelationship>
Collection<T>
getEntityRelationship()
          Retrieves a set containing all the elements for the reference entityRelationship.
 DepotEntityRelationship getEntityRelationship(boolean idIsPersistent, String id)
          Retrieves the value for the reference entityRelationship for the specified qualifier attribute value.
<T extends SimpleBooking>
Collection<T>
getSimpleBooking()
          Retrieves a set containing all the elements for the reference simpleBooking.
 SimpleBooking getSimpleBooking(boolean idIsPersistent, String id)
          Retrieves the value for the reference simpleBooking for the specified qualifier attribute value.
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 

Method Detail

getBooking

<T extends SingleBooking> Collection<T> getBooking()
Retrieves a set containing all the elements for the reference booking.

Returns:
A set containing all the elements for this reference.

getBooking

SingleBooking getBooking(boolean idIsPersistent,
                         String id)
Retrieves the value for the reference booking 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

getCb

<T extends CompoundBooking> Collection<T> getCb()
Retrieves a set containing all the elements for the reference cb.

Returns:
A set containing all the elements for this reference.

getCb

CompoundBooking getCb(boolean idIsPersistent,
                      String id)
Retrieves the value for the reference cb 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

getDepotType

<T extends DepotType> Collection<T> getDepotType()
Retrieves a set containing all the elements for the reference depotType.

Returns:
A set containing all the elements for this reference.

getDepotType

DepotType getDepotType(boolean idIsPersistent,
                       String id)
Retrieves the value for the reference depotType 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

addDepotType

void addDepotType(boolean idIsPersistent,
                  String id,
                  DepotType depotType)
Adds the specified element to the set of the values for the reference depotType.

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.
depotType - The element to be appended.

getEntity

<T extends DepotEntity> Collection<T> getEntity()
Retrieves a set containing all the elements for the reference entity.

Returns:
A set containing all the elements for this reference.

getEntity

DepotEntity getEntity(boolean idIsPersistent,
                      String id)
Retrieves the value for the reference entity 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

addEntity

void addEntity(boolean idIsPersistent,
               String id,
               DepotEntity entity)
Adds the specified element to the set of the values for the reference entity.

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.
entity - The element to be appended.

getEntityRelationship

<T extends DepotEntityRelationship> Collection<T> getEntityRelationship()
Retrieves a set containing all the elements for the reference entityRelationship.

Returns:
A set containing all the elements for this reference.

getEntityRelationship

DepotEntityRelationship getEntityRelationship(boolean idIsPersistent,
                                              String id)
Retrieves the value for the reference entityRelationship 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

addEntityRelationship

void addEntityRelationship(boolean idIsPersistent,
                           String id,
                           DepotEntityRelationship entityRelationship)
Adds the specified element to the set of the values for the reference entityRelationship.

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.
entityRelationship - The element to be appended.

getSimpleBooking

<T extends SimpleBooking> Collection<T> getSimpleBooking()
Retrieves a set containing all the elements for the reference simpleBooking.

Returns:
A set containing all the elements for this reference.

getSimpleBooking

SimpleBooking getSimpleBooking(boolean idIsPersistent,
                               String id)
Retrieves the value for the reference simpleBooking 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

addSimpleBooking

void addSimpleBooking(boolean idIsPersistent,
                      String id,
                      SimpleBooking simpleBooking)
Adds the specified element to the set of the values for the reference simpleBooking.

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.
simpleBooking - The element to be appended.


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