org.omg.CosPropertyService
Interface PropertySetDefFactoryOperations

All Known Subinterfaces:
PropertySetDefFactory
All Known Implementing Classes:
_PropertySetDefFactoryStub, PropertySetDefFactoryImpl, PropertySetDefFactoryPOA, PropertySetDefFactoryPOATie

public interface PropertySetDefFactoryOperations

PropertySetDefFactory provides an interface for creating PropertySetDefs.

It should be noted that deletion of initial or allowed properties is tied to the property mode setting for that property. In other words, initial or allowed properties are not inherently safe from deletion.


Method Summary
 PropertySetDef create_constrained_propertysetdef(org.omg.CORBA.TypeCode[] allowed_property_types, PropertyDef[] allowed_property_defs)
          The create_constrained_propertysetdef operation allows a client to create a new PropertySetDef with specific constraints, including property modes.
 PropertySetDef create_initial_propertysetdef(PropertyDef[] initial_property_defs)
          The create_initial_propertysetdef operation allows a client to create a new PropertySetDef with specific initial properties, including property modes.
 PropertySetDef create_propertysetdef()
          The create_propertysetdef operation returns a new PropertySetDef.
 

Method Detail

create_propertysetdef

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

Returns:
the PropertySetDef.

create_constrained_propertysetdef

PropertySetDef create_constrained_propertysetdef(org.omg.CORBA.TypeCode[] allowed_property_types,
                                                 PropertyDef[] allowed_property_defs)
                                                 throws ConstraintNotSupported
The create_constrained_propertysetdef operation allows a client to create a new PropertySetDef with specific constraints, including property modes.

Parameters:
allowed_property_types - the sequence of allowed proeprty types.
allowed_property_defs - the sequence of allowed property definitions.
Returns:
the PropertySetDef.
Throws:
ConstraintNotSupported - Indicates that either the allowed_property_types, or allowed_property_defs, parameter could not be supported by the PropertySetDef.

create_initial_propertysetdef

PropertySetDef create_initial_propertysetdef(PropertyDef[] initial_property_defs)
                                             throws MultipleExceptions
The create_initial_propertysetdef operation allows a client to create a new PropertySetDef with specific initial properties, including property modes.

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