@AccessLevel(value=EXTERNAL) public interface PlacementCharacteristic extends PlacementCharacteristicAccessor, curam.util.persistence.Insertable, curam.util.type.DateRanged, curam.util.type.DateTimeRanged, curam.util.persistence.OptimisticLockModifiable, curam.util.persistence.helper.LogicallyDeleteable
Modifier and Type | Interface and Description |
---|---|
static interface |
PlacementCharacteristic.PlacementCharacteristicCancelEvents
This business interface manages the placement characteristic events
functionality for a cancel method.
|
static interface |
PlacementCharacteristic.PlacementCharacteristicInsertEvents
This business interface manages the placement characteristic events
functionality for an insert method.
|
static interface |
PlacementCharacteristic.PlacementCharacteristicModifyEvents
This business interface manages the placement characteristic events
functionality for a modify method.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.Integer versionNo)
Cancels a placement characteristic for a compartment.
|
Compartment |
getCompartment()
Reads the compartment for which a placement characteristic has been
specified.
|
ProviderOffering |
getProviderOffering()
Reads the provider service provided by a compartment.
|
void |
insert()
Creates a placement characteristic to a compartment.
|
void |
modify(java.lang.Integer versionNo)
Modifies the details of a placement characteristic for a compartment.
|
void |
setCompartment(Compartment value)
Sets the compartment for which the placement characteristic has to be
applied.
|
void |
setDateRange(curam.util.type.DateRange value)
Deprecated.
Since Curam 6.0, replaced with
(final DateTimeRange
clientDateTimeRange) . To overcome the problem with time zone
when only date is considered, the method setDateTimeRange which
accepts date and time has been introduced. See release note:
CR00198774. |
void |
setDateTimeRange(curam.util.type.DateTimeRange clientDateTimeRange)
Sets the start date time and the end date time of a placement
characteristic.
|
void |
setGenderType(curam.codetable.impl.GENDEREntry name)
Sets the gender type for a placement characteristic.
|
void |
setMaximumAge(int value)
Sets the maximum age of a client who can be placed in a compartment.
|
void |
setMinimumAge(int value)
Sets the minimum age of a client who can be placed in a compartment.
|
void |
setProviderOffering(ProviderOffering value)
Sets the provider service provided by a compartment.
|
void |
setSameEthinicityType(boolean value)
Sets the indicator to signify the same ethnicity type.
|
void |
setSameGangType(boolean value)
Sets the indicator to signify the same gang type.
|
void |
setSameGenderType(boolean value)
Sets the indicator to signify the same gender type.
|
void |
setSameLanguageType(boolean value)
Sets the indicator to signify the same language type.
|
void |
setSameReligionType(boolean value)
Sets the indicator to signify the same religion type.
|
void |
setSameServiceType(boolean value)
Sets the indicator to signify the same service type.
|
getDateRange, getDateTimeRange, getGenderType, getMaximumAge, getMinimumAge, isSameEthinicityType, isSameGangType, isSameGenderType, isSameLanguageType, isSameReligionType, isSameServiceType
Compartment getCompartment()
PlacementCharacteristicAccessor
getCompartment
in interface PlacementCharacteristicAccessor
@AccessLevel(value=EXTERNAL) void setCompartment(Compartment value)
value
- The compartment details.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setGenderType(curam.codetable.impl.GENDEREntry name)
name
- The gender type.PlacementCharacteristic |
ProviderOffering getProviderOffering()
PlacementCharacteristicAccessor
getProviderOffering
in interface PlacementCharacteristicAccessor
@AccessLevel(value=EXTERNAL) void setProviderOffering(ProviderOffering value)
value
- The provider service details.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setSameServiceType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setSameEthinicityType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setSameReligionType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setSameLanguageType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setSameGenderType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@Deprecated void setDateRange(curam.util.type.DateRange value)
(final DateTimeRange
clientDateTimeRange)
. To overcome the problem with time zone
when only date is considered, the method setDateTimeRange which
accepts date and time has been introduced. See release note:
CR00198774.value
- Contains date range.The default implementation -
curam.place.impl.PlacementCharacteristicImpl#setDateRange(DateRange)
@AccessLevel(value=EXTERNAL) void setSameGangType(boolean value)
value
- Boolean value either true or false.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setMinimumAge(int value)
value
- The minimum age for a client to be placed in a compartment.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setMaximumAge(int value)
value
- The maximum age for a client to be placed in a compartment.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void setDateTimeRange(curam.util.type.DateTimeRange clientDateTimeRange)
clientDateTimeRange
- The lifetime of a placement characteristic.PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void insert() throws curam.util.exception.InformationalException
insert
in interface curam.util.persistence.Insertable
curam.util.exception.InformationalException
PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void modify(java.lang.Integer versionNo) throws curam.util.exception.InformationalException
modify
in interface curam.util.persistence.OptimisticLockModifiable
versionNo
- The version number of a placement characteristic.curam.util.exception.InformationalException
PlacementCharacteristic |
@AccessLevel(value=EXTERNAL) void cancel(java.lang.Integer versionNo) throws curam.util.exception.InformationalException
versionNo
- The version number of a placement characteristic.curam.util.exception.InformationalException
PlacementCharacteristic |