Package org.brerp.base.model
Class X_COF_DeliveryRestriction
java.lang.Object
org.compiere.model.PO
org.brerp.base.model.X_COF_DeliveryRestriction
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_COF_DeliveryRestriction
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MCOFDeliveryRestriction
public class X_COF_DeliveryRestriction
extends PO
implements I_COF_DeliveryRestriction, I_Persistent
Generated Model for COF_DeliveryRestriction
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Delivery Days = DDstatic final String
Equipment = EQstatic final String
Others = OTstatic final String
Schedule = SCFields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.brerp.base.model.I_COF_DeliveryRestriction
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_BPartner_ID, COLUMNNAME_C_BPartner_Location_ID, COLUMNNAME_cof_CEP, COLUMNNAME_COF_DeliveryRestriction_ID, COLUMNNAME_COF_DeliveryRestriction_UU, COLUMNNAME_COF_Equipments_ID, COLUMNNAME_COF_M_ShipRegion_ID, COLUMNNAME_cof_Observation, COLUMNNAME_cof_RestrictionType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EndTime, COLUMNNAME_IsActive, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_Name, COLUMNNAME_OnFriday, COLUMNNAME_OnMonday, COLUMNNAME_OnSaturday, COLUMNNAME_OnSunday, COLUMNNAME_OnThursday, COLUMNNAME_OnTuesday, COLUMNNAME_OnWednesday, COLUMNNAME_PriorityNo, COLUMNNAME_StartTime, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_COF_DeliveryRestriction
(Properties ctx, int COF_DeliveryRestriction_ID, String trxName) Standard ConstructorX_COF_DeliveryRestriction
(Properties ctx, int COF_DeliveryRestriction_ID, String trxName, String... virtualColumns) Standard ConstructorX_COF_DeliveryRestriction
(Properties ctx, String COF_DeliveryRestriction_UU, String trxName) Standard ConstructorX_COF_DeliveryRestriction
(Properties ctx, String COF_DeliveryRestriction_UU, String trxName, String... virtualColumns) Standard ConstructorX_COF_DeliveryRestriction
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Business Partner.int
Get Partner Location.Get CEP.int
Get Restrição de Entrega.Get COF_DeliveryRestriction_UU.int
Get Equipamentos.int
Get Shipment Region.Get Observation.Get Restriction Type.Get Description.Get End Time.int
Get Product Category.int
Get Product.getName()
Get Name.int
Get Relative Priority.Get Start Time.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Friday.boolean
Get Monday.boolean
Get Saturday.boolean
Get Sunday.boolean
Get Thursday.boolean
Get Tuesday.boolean
Get Wednesday.void
setC_BPartner_ID
(int C_BPartner_ID) Set Business Partner.void
setC_BPartner_Location_ID
(int C_BPartner_Location_ID) Set Partner Location.void
setcof_CEP
(String cof_CEP) Set CEP.void
setCOF_DeliveryRestriction_ID
(int COF_DeliveryRestriction_ID) Set Restrição de Entrega.void
setCOF_DeliveryRestriction_UU
(String COF_DeliveryRestriction_UU) Set COF_DeliveryRestriction_UU.void
setCOF_Equipments_ID
(int COF_Equipments_ID) Set Equipamentos.void
setCOF_M_ShipRegion_ID
(int COF_M_ShipRegion_ID) Set Shipment Region.void
setcof_Observation
(String cof_Observation) Set Observation.void
setcof_RestrictionType
(String cof_RestrictionType) Set Restriction Type.void
setDescription
(String Description) Set Description.void
setEndTime
(Timestamp EndTime) Set End Time.void
setM_Product_Category_ID
(int M_Product_Category_ID) Set Product Category.void
setM_Product_ID
(int M_Product_ID) Set Product.void
Set Name.void
setOnFriday
(boolean OnFriday) Set Friday.void
setOnMonday
(boolean OnMonday) Set Monday.void
setOnSaturday
(boolean OnSaturday) Set Saturday.void
setOnSunday
(boolean OnSunday) Set Sunday.void
setOnThursday
(boolean OnThursday) Set Thursday.void
setOnTuesday
(boolean OnTuesday) Set Tuesday.void
setOnWednesday
(boolean OnWednesday) Set Wednesday.void
setPriorityNo
(int PriorityNo) Set Relative Priority.void
setStartTime
(Timestamp StartTime) Set Start Time.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.brerp.base.model.I_COF_DeliveryRestriction
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
Methods inherited from interface org.compiere.model.I_Persistent
save
-
Field Details
-
COF_RESTRICTIONTYPE_DeliveryDays
Delivery Days = DD- See Also:
-
COF_RESTRICTIONTYPE_Equipment
Equipment = EQ- See Also:
-
COF_RESTRICTIONTYPE_Others
Others = OT- See Also:
-
COF_RESTRICTIONTYPE_Schedule
Schedule = SC- See Also:
-
-
Constructor Details
-
X_COF_DeliveryRestriction
Standard Constructor -
X_COF_DeliveryRestriction
public X_COF_DeliveryRestriction(Properties ctx, int COF_DeliveryRestriction_ID, String trxName, String... virtualColumns) Standard Constructor -
X_COF_DeliveryRestriction
Standard Constructor -
X_COF_DeliveryRestriction
public X_COF_DeliveryRestriction(Properties ctx, String COF_DeliveryRestriction_UU, String trxName, String... virtualColumns) Standard Constructor -
X_COF_DeliveryRestriction
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
setCOF_DeliveryRestriction_ID
public void setCOF_DeliveryRestriction_ID(int COF_DeliveryRestriction_ID) Set Restrição de Entrega.- Specified by:
setCOF_DeliveryRestriction_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
COF_DeliveryRestriction_ID
- Primary Key : Delivery Restriction
-
getCOF_DeliveryRestriction_ID
public int getCOF_DeliveryRestriction_ID()Get Restrição de Entrega.- Specified by:
getCOF_DeliveryRestriction_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Primary Key : Delivery Restriction
-
setCOF_DeliveryRestriction_UU
Set COF_DeliveryRestriction_UU.- Specified by:
setCOF_DeliveryRestriction_UU
in interfaceI_COF_DeliveryRestriction
- Parameters:
COF_DeliveryRestriction_UU
- COF_DeliveryRestriction_UU
-
getCOF_DeliveryRestriction_UU
Get COF_DeliveryRestriction_UU.- Specified by:
getCOF_DeliveryRestriction_UU
in interfaceI_COF_DeliveryRestriction
- Returns:
- COF_DeliveryRestriction_UU
-
getCOF_Equipments
- Specified by:
getCOF_Equipments
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setCOF_Equipments_ID
public void setCOF_Equipments_ID(int COF_Equipments_ID) Set Equipamentos.- Specified by:
setCOF_Equipments_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
COF_Equipments_ID
- Primary Key : Equipments
-
getCOF_Equipments_ID
public int getCOF_Equipments_ID()Get Equipamentos.- Specified by:
getCOF_Equipments_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Primary Key : Equipments
-
getCOF_M_ShipRegion
- Specified by:
getCOF_M_ShipRegion
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setCOF_M_ShipRegion_ID
public void setCOF_M_ShipRegion_ID(int COF_M_ShipRegion_ID) Set Shipment Region.- Specified by:
setCOF_M_ShipRegion_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
COF_M_ShipRegion_ID
- Primary Key : Shipment Region
-
getCOF_M_ShipRegion_ID
public int getCOF_M_ShipRegion_ID()Get Shipment Region.- Specified by:
getCOF_M_ShipRegion_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Primary Key : Shipment Region
-
getC_BPartner
- Specified by:
getC_BPartner
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
C_BPartner_ID
- Identifies a Business Partner
-
getC_BPartner_ID
public int getC_BPartner_ID()Get Business Partner.- Specified by:
getC_BPartner_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Identifies a Business Partner
-
getC_BPartner_Location
- Specified by:
getC_BPartner_Location
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setC_BPartner_Location_ID
public void setC_BPartner_Location_ID(int C_BPartner_Location_ID) Set Partner Location.- Specified by:
setC_BPartner_Location_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
C_BPartner_Location_ID
- Identifies the (ship to) address for this Business Partner
-
getC_BPartner_Location_ID
public int getC_BPartner_Location_ID()Get Partner Location.- Specified by:
getC_BPartner_Location_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Identifies the (ship to) address for this Business Partner
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_COF_DeliveryRestriction
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_COF_DeliveryRestriction
- Returns:
- Optional short description of the record
-
setEndTime
Set End Time.- Specified by:
setEndTime
in interfaceI_COF_DeliveryRestriction
- Parameters:
EndTime
- End of the time span
-
getEndTime
Get End Time.- Specified by:
getEndTime
in interfaceI_COF_DeliveryRestriction
- Returns:
- End of the time span
-
getM_Product_Category
- Specified by:
getM_Product_Category
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setM_Product_Category_ID
public void setM_Product_Category_ID(int M_Product_Category_ID) Set Product Category.- Specified by:
setM_Product_Category_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
M_Product_Category_ID
- Category of a Product
-
getM_Product_Category_ID
public int getM_Product_Category_ID()Get Product Category.- Specified by:
getM_Product_Category_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Category of a Product
-
getM_Product
- Specified by:
getM_Product
in interfaceI_COF_DeliveryRestriction
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_COF_DeliveryRestriction
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_COF_DeliveryRestriction
- Returns:
- Product, Service, Item
-
setName
Set Name.- Specified by:
setName
in interfaceI_COF_DeliveryRestriction
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_COF_DeliveryRestriction
- Returns:
- Alphanumeric identifier of the entity
-
setOnFriday
public void setOnFriday(boolean OnFriday) Set Friday.- Specified by:
setOnFriday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnFriday
- Available on Fridays
-
isOnFriday
public boolean isOnFriday()Get Friday.- Specified by:
isOnFriday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Fridays
-
setOnMonday
public void setOnMonday(boolean OnMonday) Set Monday.- Specified by:
setOnMonday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnMonday
- Available on Mondays
-
isOnMonday
public boolean isOnMonday()Get Monday.- Specified by:
isOnMonday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Mondays
-
setOnSaturday
public void setOnSaturday(boolean OnSaturday) Set Saturday.- Specified by:
setOnSaturday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnSaturday
- Available on Saturday
-
isOnSaturday
public boolean isOnSaturday()Get Saturday.- Specified by:
isOnSaturday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Saturday
-
setOnSunday
public void setOnSunday(boolean OnSunday) Set Sunday.- Specified by:
setOnSunday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnSunday
- Available on Sundays
-
isOnSunday
public boolean isOnSunday()Get Sunday.- Specified by:
isOnSunday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Sundays
-
setOnThursday
public void setOnThursday(boolean OnThursday) Set Thursday.- Specified by:
setOnThursday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnThursday
- Available on Thursdays
-
isOnThursday
public boolean isOnThursday()Get Thursday.- Specified by:
isOnThursday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Thursdays
-
setOnTuesday
public void setOnTuesday(boolean OnTuesday) Set Tuesday.- Specified by:
setOnTuesday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnTuesday
- Available on Tuesdays
-
isOnTuesday
public boolean isOnTuesday()Get Tuesday.- Specified by:
isOnTuesday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Tuesdays
-
setOnWednesday
public void setOnWednesday(boolean OnWednesday) Set Wednesday.- Specified by:
setOnWednesday
in interfaceI_COF_DeliveryRestriction
- Parameters:
OnWednesday
- Available on Wednesdays
-
isOnWednesday
public boolean isOnWednesday()Get Wednesday.- Specified by:
isOnWednesday
in interfaceI_COF_DeliveryRestriction
- Returns:
- Available on Wednesdays
-
setPriorityNo
public void setPriorityNo(int PriorityNo) Set Relative Priority.- Specified by:
setPriorityNo
in interfaceI_COF_DeliveryRestriction
- Parameters:
PriorityNo
- Where inventory should be picked from first
-
getPriorityNo
public int getPriorityNo()Get Relative Priority.- Specified by:
getPriorityNo
in interfaceI_COF_DeliveryRestriction
- Returns:
- Where inventory should be picked from first
-
setStartTime
Set Start Time.- Specified by:
setStartTime
in interfaceI_COF_DeliveryRestriction
- Parameters:
StartTime
- Time started
-
getStartTime
Get Start Time.- Specified by:
getStartTime
in interfaceI_COF_DeliveryRestriction
- Returns:
- Time started
-
setcof_CEP
Set CEP.- Specified by:
setcof_CEP
in interfaceI_COF_DeliveryRestriction
- Parameters:
cof_CEP
- CEP
-
getcof_CEP
Get CEP.- Specified by:
getcof_CEP
in interfaceI_COF_DeliveryRestriction
- Returns:
- CEP
-
setcof_Observation
Set Observation.- Specified by:
setcof_Observation
in interfaceI_COF_DeliveryRestriction
- Parameters:
cof_Observation
- Observation for Tax Determination
-
getcof_Observation
Get Observation.- Specified by:
getcof_Observation
in interfaceI_COF_DeliveryRestriction
- Returns:
- Observation for Tax Determination
-
setcof_RestrictionType
Set Restriction Type.- Specified by:
setcof_RestrictionType
in interfaceI_COF_DeliveryRestriction
- Parameters:
cof_RestrictionType
- Restriction Type
-
getcof_RestrictionType
Get Restriction Type.- Specified by:
getcof_RestrictionType
in interfaceI_COF_DeliveryRestriction
- Returns:
- Restriction Type
-