BrightSide Workbench Full Report + Source Code
org.turro.erp.entity.UsageStatus Enum Reference

Public Member Functions

boolean hasMovement ()
 

Static Public Member Functions

static UsageStatus getFrom (RequiredUsage requiredUsage)
 

Public Attributes

 USAGE_READY
 
 USAGE_PENDING
 
 USAGE_RECEIVED_PARTIALLY
 
 USAGE_RECEIVED
 
 USAGE_PROCESSED
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 26 of file UsageStatus.java.

Member Function Documentation

◆ getFrom()

static UsageStatus org.turro.erp.entity.UsageStatus.getFrom ( RequiredUsage  requiredUsage)
static

Definition at line 38 of file UsageStatus.java.

38  {
39  if(requiredUsage != null) {
40  return requiredUsage.getStatus();
41  }
42  return null;
43  }
Here is the call graph for this function:

◆ hasMovement()

boolean org.turro.erp.entity.UsageStatus.hasMovement ( )

Definition at line 34 of file UsageStatus.java.

34  {
35  return !EnumSet.of(USAGE_READY, USAGE_PENDING).contains(this);
36  }

Member Data Documentation

◆ USAGE_PENDING

org.turro.erp.entity.UsageStatus.USAGE_PENDING

Definition at line 29 of file UsageStatus.java.

◆ USAGE_PROCESSED

org.turro.erp.entity.UsageStatus.USAGE_PROCESSED

Definition at line 32 of file UsageStatus.java.

◆ USAGE_READY

org.turro.erp.entity.UsageStatus.USAGE_READY

Definition at line 28 of file UsageStatus.java.

◆ USAGE_RECEIVED

org.turro.erp.entity.UsageStatus.USAGE_RECEIVED

Definition at line 31 of file UsageStatus.java.

◆ USAGE_RECEIVED_PARTIALLY

org.turro.erp.entity.UsageStatus.USAGE_RECEIVED_PARTIALLY

Definition at line 30 of file UsageStatus.java.


The documentation for this enum was generated from the following file: