|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerPlan
ConsumerPlan specifies plan for a consumer. A consumer plan holds the ownership/share/lend/borrow policy for a consumer in the specified resource group.
Method Summary | |
---|---|
int |
getBorrowed()
Get the number of borrowed slots of the current plan. |
codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] |
getBorrowFrom()
Get the lender array of the current plan. |
codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] |
getBorrowFrom(java.util.Calendar calendar)
Get the lender array for the given day/time. |
int |
getBorrowLimit()
Get the borrow limit of the current plan. |
int |
getBorrowLimit(java.util.Calendar calendar)
Get the borrow limit for the given day/time. |
java.lang.String |
getConsumerName()
Get name of consumer. |
int |
getLendLimit()
Get the lend limit of the current plan. |
int |
getLendLimit(java.util.Calendar calendar)
Get the lend limit for the given day/time. |
codegen.databinding.com.platform.www.LendToDocument.LendTo[] |
getLendTo()
Get the borrower array of the current plan. |
codegen.databinding.com.platform.www.LendToDocument.LendTo[] |
getLendTo(java.util.Calendar calendar)
Get the borrower array for the given day/time. |
int |
getLent()
Get the number of lent slots of the current plan. |
int |
getOwned()
Get the number of owned slots of the current plan. |
int |
getOwned(java.util.Calendar calendar)
Get the number of owned slots for the interval that contains the given day/time. |
int |
getOwnedInUse()
Get the number of owned slots in use in the current plan. |
codegen.databinding.com.platform.www.ConsumerDocument.Consumer |
getPlan()
Get the resource plan |
int |
getPriority()
Get the priority of the consumer for the current plan. |
int |
getPriority(java.util.Calendar calendar)
Get the priority of the consumer for the interval that contain the given time. |
java.lang.String |
getResourceGroupName()
Get name of ResourceGroup. |
int |
getShareInUse()
Get the number of shared slots in use in the current plan. |
int |
getShareLimit()
Get the share limit of the current plan. |
int |
getShareLimit(java.util.Calendar calendar)
Get the share limit for the given day/time. |
int |
getShareRatio()
Get the share ratio of the current plan. |
int |
getShareRatio(java.util.Calendar calendar)
Get the share ratio for the interval that contains given day/time. |
int |
getShareReserved()
Get the number of shared slots reserved in the current plan. |
void |
setBorrowFrom(codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] borrowFrom)
Set the lender array of the current plan. |
void |
setBorrowFrom(java.util.Calendar calendar,
codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] borrowFrom)
Set the lender array for the interval that contains the given day/time. |
void |
setBorrowLimit(java.util.Calendar calendar,
int count)
Set the borrow limit for the interval that contains the given day/time. |
void |
setBorrowLimit(int count)
Set the borrow limit of the current plan. |
void |
setLendLimit(java.util.Calendar calendar,
int count)
Set the lend limit for the interval that contains the given day/time. |
void |
setLendLimit(int count)
Set the lend limit of the current plan. |
void |
setLendTo(java.util.Calendar calendar,
codegen.databinding.com.platform.www.LendToDocument.LendTo[] lendTo)
Set the borrower array for the interval that contains the given day/time. |
void |
setLendTo(codegen.databinding.com.platform.www.LendToDocument.LendTo[] lendTo)
Set the borrower array of the current plan. |
void |
setOwned(java.util.Calendar calendar,
int count)
Set the number of owned slots for the interval that contains the given day/time. |
void |
setOwned(int count)
Set the number of owned slots of the current plan. |
void |
setPlan()
Set the resource plan. |
void |
setPriority(java.util.Calendar calendar,
int count)
Set the priority of the consumer for the interval that contain the given time. |
void |
setPriority(int count)
Set the priority of the consumer for the current plan. |
void |
setShareLimit(java.util.Calendar calendar,
int count)
Set the share limit for the interval that contains the given day/time. |
void |
setShareLimit(int count)
Set the share limit of the current plan. |
void |
setShareRatio(java.util.Calendar calendar,
int count)
Set the share ratio for the interval that contains the given day/time. |
void |
setShareRatio(int count)
Set the share ratio of the current plan. |
Method Detail |
---|
java.lang.String getConsumerName()
java.lang.String getResourceGroupName()
int getOwned() throws EGOException
EGOException
int getShareRatio() throws EGOException
EGOException
int getShareLimit() throws EGOException
EGOException
int getBorrowLimit() throws EGOException
EGOException
int getLendLimit() throws EGOException
EGOException
codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] getBorrowFrom() throws EGOException
EGOException
codegen.databinding.com.platform.www.LendToDocument.LendTo[] getLendTo() throws EGOException
EGOException
int getLent() throws EGOException
EGOException
int getBorrowed() throws EGOException
EGOException
int getOwnedInUse() throws EGOException
EGOException
int getShareInUse() throws EGOException
EGOException
int getShareReserved() throws EGOException
EGOException
void setOwned(int count) throws EGOException
count
- : specifies the number of owned slots
EGOException
void setShareRatio(int count) throws EGOException
count
- : specifies the number of share ratio
EGOException
void setShareLimit(int count) throws EGOException
count
- : specifies the number of share limit
EGOException
void setBorrowLimit(int count) throws EGOException
count
- : specifies the number of borrow limit
EGOException
void setLendLimit(int count) throws EGOException
count
- : specifies the numer of lend limit
EGOException
void setBorrowFrom(codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] borrowFrom) throws EGOException
borrowFrom
- : specifies the lender
EGOException
void setLendTo(codegen.databinding.com.platform.www.LendToDocument.LendTo[] lendTo) throws EGOException
lendTo
- : specifies the borrower
EGOException
int getPriority() throws EGOException
EGOException
void setPriority(int count) throws EGOException
count
- : specifies the number of priority
EGOException
int getPriority(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setPriority(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendarcount
- : specifies the number of priority
EGOException
int getOwned(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setOwned(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendercount
- : specifies the number of owned slots
EGOException
int getShareRatio(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setShareRatio(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendarcount
- : specifies the number of share ratio
EGOException
int getShareLimit(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setShareLimit(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendercount
-
EGOException
int getBorrowLimit(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setBorrowLimit(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendarcount
- : specifies the number of borrow limit
EGOException
int getLendLimit(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setLendLimit(java.util.Calendar calendar, int count) throws EGOException
calendar
- : specifies the calendarcount
- : specifies the number of lend limit
EGOException
codegen.databinding.com.platform.www.LendToDocument.LendTo[] getLendTo(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setLendTo(java.util.Calendar calendar, codegen.databinding.com.platform.www.LendToDocument.LendTo[] lendTo) throws EGOException
calendar
- : specifies the calendarlendTo
- : specifies the borrower
EGOException
codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] getBorrowFrom(java.util.Calendar calendar) throws EGOException
calendar
- : specifies the calendar
EGOException
void setBorrowFrom(java.util.Calendar calendar, codegen.databinding.com.platform.www.BorrowFromDocument.BorrowFrom[] borrowFrom) throws EGOException
calendar
- : specifies the calendarborrowFrom
- : specifies the lender
EGOException
codegen.databinding.com.platform.www.ConsumerDocument.Consumer getPlan() throws EGOException
EGOException
void setPlan() throws EGOException
EGOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |