Interface BusinessStatus
-
- All Superinterfaces:
java.lang.Cloneable
- All Known Subinterfaces:
BillingHeaderStatus,BillingItemStatus,BillingStatus,OverallStatus,OverallStatusOrder,ProcessingStatus,ShippingStatus
- All Known Implementing Classes:
BillingHeaderStatusImpl,BillingItemStatusImpl,BillingStatusImpl,BusinessStatusImpl,OverallStatusImpl,OverallStatusOrderImpl,ProcessingStatusImpl,ShippingStatusImpl
public interface BusinessStatus extends java.lang.CloneableRepresents the BusinessStatus object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectclone()Performs a deep-copy of the object rather than a shallow copy.EStatusgetStatus()Returns status.voidinit()Initializes the BusinessStatus object.voidinit(EStatus key)Initializes the BusinessStatus object.voidinit(EStatus dlvStatus, EStatus rjStatus)Initializes the BusinessStatus object.booleanisNotProcessed()Returns true if the status is "Not Processed".booleanisNotRelevant()Returns true if the status is "Not Relevant".booleanisPartiallyProcessed()Returns true if the status is "Partially Processed".booleanisProcessed()Returns true if the status is "Processed".
-
-
-
Method Detail
-
getStatus
EStatus getStatus()
Returns status.- Returns:
- status
-
isNotRelevant
boolean isNotRelevant()
Returns true if the status is "Not Relevant".- Returns:
- true if the status is "Not Relevant"
-
isNotProcessed
boolean isNotProcessed()
Returns true if the status is "Not Processed". which is the same as Open.- Returns:
- true if the status is "Not Processed"
-
isPartiallyProcessed
boolean isPartiallyProcessed()
Returns true if the status is "Partially Processed".- Returns:
- true if the status is "Partially Processed"
-
isProcessed
boolean isProcessed()
Returns true if the status is "Processed".- Returns:
- true if the status is "Processed"
-
init
void init(EStatus dlvStatus, EStatus rjStatus)
Initializes the BusinessStatus object.- Parameters:
dlvStatus- Delivery StatusrjStatus- Rejection Status
-
init
void init(EStatus key)
Initializes the BusinessStatus object.- Parameters:
key- - status
-
init
void init()
Initializes the BusinessStatus object.
-
clone
java.lang.Object clone()
Performs a deep-copy of the object rather than a shallow copy.- Returns:
- returns a deep copy
-
-