org.omg.CosPropertyService
Interface PropertySetFactoryOperations

All Known Subinterfaces:
PropertySetFactory
All Known Implementing Classes:
_PropertySetFactoryStub, PropertySetFactoryImpl, PropertySetFactoryPOA, PropertySetFactoryPOATie

public interface PropertySetFactoryOperations

PropertySetFactory provides an interface for creating PropertySets. The relationship of a PropertySet to a specific object is an implementation issue.

Deletion of any initial properties is an implementation concern. For example, an implementation may choose to initialize the PropertySet with a set of fixed_readonly properties for create_propertyset or choose to initialize all allowed_properties to be fixed_normal for create_constrained_propertyset.


Method Summary
 PropertySet create_constrained_propertyset(org.omg.CORBA.TypeCode[] allowed_property_types, Property[] allowed_properties)
          The create_constrained_propertyset operation allows a client to create a new PropertySet with specific constraints.
 PropertySet create_initial_propertyset(Property[] initial_properties)
          The create_initial_propertyset operation allows a client to create a new PropertySet with specific initial properties.
 PropertySet create_propertyset()
          The create_propertyset operation returns a new PropertySet.
 

Method Detail

create_propertyset

PropertySet create_propertyset()
The create_propertyset operation returns a new PropertySet. It is considered an implementation issue as to whether the PropertySet contains any initial properties or has constraints.

Returns:
the PropertySet.

create_constrained_propertyset

PropertySet create_constrained_propertyset(org.omg.CORBA.TypeCode[] allowed_property_types,
                                           Property[] allowed_properties)
                                           throws ConstraintNotSupported
The create_constrained_propertyset operation allows a client to create a new PropertySet with specific constraints. The modes associated with the allowed properties is considered an implementation issue.

Parameters:
allowed_property_types - the sequence of allowed property types.
allowed_properties - the sequence of allowed properties.
Returns:
the PropertySet.
Throws:
ConstraintNotSupported - Indicates that either the allowed_property_types, or allowed_properties, parameter could not be supported by the PropertySet.

create_initial_propertyset

PropertySet create_initial_propertyset(Property[] initial_properties)
                                       throws MultipleExceptions
The create_initial_propertyset operation allows a client to create a new PropertySet with specific initial properties. The modes associated with the initial properties is considered an implementation issue.

Parameters:
initial_properties - the sequence of initial properties.
Returns:
the PropertySet.
Throws:
MultipleExceptions - if exceptions occurred while initializing the PropertySet with the specified property definitions.