org.opencrx.kernel.contract1.jmi1
Interface GetContractAmountsParams

All Superinterfaces:
GetContractAmountsParams, RefStruct, Serializable

public interface GetContractAmountsParams
extends RefStruct, GetContractAmountsParams


Method Summary
 boolean containsLineItemNumber(int value)
           
 boolean containsPositionAmount(BigDecimal value)
           
 boolean containsPositionBaseAmount(BigDecimal value)
           
 boolean containsPositionDiscountAmount(BigDecimal value)
           
 boolean containsPositionTaxAmount(BigDecimal value)
           
 boolean containsSalesCommission(BigDecimal value)
           
 boolean containsSalesCommissionIsPercentage(boolean value)
           
 AbstractContract getContract()
          Retrieves the value for the structure field contract.
 List<Integer> getLineItemNumber()
           
 int getLineItemNumber(int index)
           
 List<BigDecimal> getPositionAmount()
           
 BigDecimal getPositionAmount(int index)
           
 List<BigDecimal> getPositionBaseAmount()
           
 BigDecimal getPositionBaseAmount(int index)
           
 List<BigDecimal> getPositionDiscountAmount()
           
 BigDecimal getPositionDiscountAmount(int index)
           
 List<BigDecimal> getPositionTaxAmount()
           
 BigDecimal getPositionTaxAmount(int index)
           
 List<BigDecimal> getSalesCommission()
           
 BigDecimal getSalesCommission(int index)
           
 List<Boolean> getSalesCommissionIsPercentage()
           
 boolean getSalesCommissionIsPercentage(int index)
           
 
Methods inherited from interface javax.jmi.reflect.RefStruct
equals, hashCode, refFieldNames, refGetValue, refTypeName
 

Method Detail

getContract

AbstractContract getContract()
Retrieves the value for the structure field contract.

Specified by:
getContract in interface GetContractAmountsParams
Returns:
The non-null value for structure field contract.

getLineItemNumber

List<Integer> getLineItemNumber()
Specified by:
getLineItemNumber in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsLineItemNumber

boolean containsLineItemNumber(int value)
Specified by:
containsLineItemNumber in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getLineItemNumber

int getLineItemNumber(int index)
Specified by:
getLineItemNumber in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getPositionAmount

List<BigDecimal> getPositionAmount()
Specified by:
getPositionAmount in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsPositionAmount

boolean containsPositionAmount(BigDecimal value)
Specified by:
containsPositionAmount in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getPositionAmount

BigDecimal getPositionAmount(int index)
Specified by:
getPositionAmount in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getPositionBaseAmount

List<BigDecimal> getPositionBaseAmount()
Specified by:
getPositionBaseAmount in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsPositionBaseAmount

boolean containsPositionBaseAmount(BigDecimal value)
Specified by:
containsPositionBaseAmount in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getPositionBaseAmount

BigDecimal getPositionBaseAmount(int index)
Specified by:
getPositionBaseAmount in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getPositionDiscountAmount

List<BigDecimal> getPositionDiscountAmount()
Specified by:
getPositionDiscountAmount in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsPositionDiscountAmount

boolean containsPositionDiscountAmount(BigDecimal value)
Specified by:
containsPositionDiscountAmount in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getPositionDiscountAmount

BigDecimal getPositionDiscountAmount(int index)
Specified by:
getPositionDiscountAmount in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getPositionTaxAmount

List<BigDecimal> getPositionTaxAmount()
Specified by:
getPositionTaxAmount in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsPositionTaxAmount

boolean containsPositionTaxAmount(BigDecimal value)
Specified by:
containsPositionTaxAmount in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getPositionTaxAmount

BigDecimal getPositionTaxAmount(int index)
Specified by:
getPositionTaxAmount in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getSalesCommission

List<BigDecimal> getSalesCommission()
Specified by:
getSalesCommission in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsSalesCommission

boolean containsSalesCommission(BigDecimal value)
Specified by:
containsSalesCommission in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getSalesCommission

BigDecimal getSalesCommission(int index)
Specified by:
getSalesCommission in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.

getSalesCommissionIsPercentage

List<Boolean> getSalesCommissionIsPercentage()
Specified by:
getSalesCommissionIsPercentage in interface GetContractAmountsParams
Returns:
A list containing all elements for this structure field.

containsSalesCommissionIsPercentage

boolean containsSalesCommissionIsPercentage(boolean value)
Specified by:
containsSalesCommissionIsPercentage in interface GetContractAmountsParams
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getSalesCommissionIsPercentage

boolean getSalesCommissionIsPercentage(int index)
Specified by:
getSalesCommissionIsPercentage in interface GetContractAmountsParams
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.