org.opencrx.kernel.base.cci2
Interface PropertySet

All Known Subinterfaces:
AbstractProductConfiguration, AbstractProductConfiguration, AbstractTask, AbstractTask, Booking, Booking, ComponentConfiguration, ComponentConfiguration, CompoundBooking, CompoundBooking, CreditBooking, CreditBooking, DebitBooking, DebitBooking, Depot, Depot, ExternalTask, ExternalTask, ProductConfiguration, ProductConfiguration, ProductConfigurationType, ProductConfigurationType, PropertySet, PropertySet, PropertySet, PropertySet, PropertySet, SimpleBooking, SimpleBooking, SingleBooking, SingleBooking, WfProcess, WfProcess, WfProcessInstance, WfProcessInstance
All Known Implementing Classes:
AbstractTask, ComponentConfiguration, CompoundBooking, CreditBooking, DebitBooking, Depot, ExternalTask, ProductConfiguration, ProductConfigurationType, PropertySet, PropertySet, SimpleBooking, SingleBooking, WfProcess, WfProcessInstance

public interface PropertySet

Abstract class PropertySet


Method Summary
 void addProperty(boolean idIsPersistent, String id, Property property)
          Adds the specified element to the set of the values for the reference property.
<T extends Property>
Collection<T>
getProperty()
          Retrieves a set containing all the elements for the reference property.
 Property getProperty(boolean idIsPersistent, String id)
          Retrieves the value for the reference property for the specified qualifier attribute value.
 

Method Detail

getProperty

<T extends Property> Collection<T> getProperty()
Retrieves a set containing all the elements for the reference property.

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

getProperty

Property getProperty(boolean idIsPersistent,
                     String id)
Retrieves the value for the reference property 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

addProperty

void addProperty(boolean idIsPersistent,
                 String id,
                 Property property)
Adds the specified element to the set of the values for the reference property.

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.
property - 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.