@AccessLevel(value=EXTERNAL)
public interface CompartmentAccessor
extends curam.util.persistence.StandardEntity
Modifier and Type | Method and Description |
---|---|
java.util.Set<? extends CompartmentAccessor> |
getChildren()
Gets the immutable set of all child compartments.
|
curam.util.type.DateRange |
getDateRange()
Gets the Date Created and Date Closed of the compartment.
|
curam.util.type.DateTimeRange |
getDateTimeRange()
Gets the creation date time and the end date time of the compartment.
|
java.lang.String |
getDescription()
Gets the description of the compartment.
|
java.util.Set<? extends curam.place.impl.PlaceAccessor> |
getEmergencyPlaces()
Gets the immutable set of all emergency places within the compartment.
|
java.util.Set<? extends CompartmentAccessor> |
getImmediateChildren()
Gets the set of immediate child compartments.
|
java.lang.String |
getName()
Gets the Name of the compartment.
|
CompartmentAccessor |
getParentCompartment()
Gets the parent compartment.
|
java.util.Set<? extends PlacementCharacteristicAccessor> |
getPlacementCharacteristics()
Gets the immutable set of placement characteristics for a provider which
are used to identify appropriate placements for clients within a
compartment.
|
java.util.Set<? extends curam.place.impl.PlaceAccessor> |
getPlacesByStatus(curam.place.impl.PlaceStatusEntry placeStatus)
Gets the immutable set of all places by status.
|
ProviderAccessor |
getProvider()
Gets the provider the compartment is associated with.
|
java.util.Set<? extends PlacementCharacteristicAccessor> getPlacementCharacteristics()
The returned objects are intentionally accessor-only. Calling code must not attempt to cast any of these objects to its mutator interface, nor use the object's ID to re-retrieve a mutable instance from the database.
java.util.Set<? extends curam.place.impl.PlaceAccessor> getPlacesByStatus(curam.place.impl.PlaceStatusEntry placeStatus)
The returned objects are intentionally accessor-only. Calling code must not attempt to cast any of these objects to its mutator interface, nor use the object's ID to re-retrieve a mutable instance from the database.
placeStatus
- Status of Place.java.util.Set<? extends curam.place.impl.PlaceAccessor> getEmergencyPlaces()
java.util.Set<? extends CompartmentAccessor> getChildren()
java.util.Set<? extends CompartmentAccessor> getImmediateChildren()
java.lang.String getName()
java.lang.String getDescription()
ProviderAccessor getProvider()
The returned object is intentionally accessor-only. Calling code must not attempt to cast the object to its mutator interface, nor use the object's ID to re-retrieve a mutable instance from the database.
CompartmentAccessor getParentCompartment()
The returned object is intentionally accessor-only. Calling code must not attempt to cast the object to its mutator interface, nor use the object's ID to re-retrieve a mutable instance from the database.
curam.util.type.DateRange getDateRange()
curam.util.type.DateTimeRange getDateTimeRange()