Class BOBundleRequirementType

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.bl.bundleRequirement.BOBundleRequirementType
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOBundleRequirementType extends DynO
Enumeration representing the type of bundle requirement. Defines the type of requirement for resources and teams that can be assigned to bundles.

This enum maps to the work order requirement type entity in the database.

Since:
22.0
See Also:
  • Constructor Details

    • BOBundleRequirementType

      public BOBundleRequirementType()
  • Method Details

    • getId

      public Long getId()
      Gets the ID for this requirement type.
      Returns:
      the database ID
    • setId

      public void setId(Long id)
      Sets the ID for this requirement type.
      Parameters:
      id - the database ID
    • isResource

      public boolean isResource()
      Checks if this requirement type is for a resource.
      Returns:
      true if this is a resource requirement type
    • isTeam

      public boolean isTeam()
      Checks if this requirement type is for a team.
      Returns:
      true if this is a team requirement type
    • isMandatory

      public boolean isMandatory()
      Checks if this requirement type is mandatory.
      Returns:
      true if this is a mandatory requirement type
    • isPreferred

      public boolean isPreferred()
      Checks if this requirement type is preferred.
      Returns:
      true if this is a preferred requirement type
    • isExcluded

      public boolean isExcluded()
      Checks if this requirement type is excluded.
      Returns:
      true if this is an excluded requirement type
    • fromId

      public static BOBundleRequirementType fromId(Long id)
      Gets the requirement type by database ID.
      Parameters:
      id - the database ID
      Returns:
      the requirement type, or null if not found