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
FieldsModifier and TypeFieldDescriptionstatic final StringDelivery Days = DDstatic final StringEquipment = EQstatic final StringOthers = OTstatic final StringSchedule = 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_IDFields 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
ConstructorsConstructorDescriptionX_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 intAccessLevelintGet Business Partner.intGet Partner Location.Get CEP.intGet Restrição de Entrega.Get COF_DeliveryRestriction_UU.intGet Equipamentos.intGet Shipment Region.Get Observation.Get Restriction Type.Get Description.Get End Time.intGet Product Category.intGet Product.getName()Get Name.intGet Relative Priority.Get Start Time.protected POInfoinitPO(Properties ctx) Load Meta DatabooleanGet Friday.booleanGet Monday.booleanGet Saturday.booleanGet Sunday.booleanGet Thursday.booleanGet Tuesday.booleanGet Wednesday.voidsetC_BPartner_ID(int C_BPartner_ID) Set Business Partner.voidsetC_BPartner_Location_ID(int C_BPartner_Location_ID) Set Partner Location.voidsetcof_CEP(String cof_CEP) Set CEP.voidsetCOF_DeliveryRestriction_ID(int COF_DeliveryRestriction_ID) Set Restrição de Entrega.voidsetCOF_DeliveryRestriction_UU(String COF_DeliveryRestriction_UU) Set COF_DeliveryRestriction_UU.voidsetCOF_Equipments_ID(int COF_Equipments_ID) Set Equipamentos.voidsetCOF_M_ShipRegion_ID(int COF_M_ShipRegion_ID) Set Shipment Region.voidsetcof_Observation(String cof_Observation) Set Observation.voidsetcof_RestrictionType(String cof_RestrictionType) Set Restriction Type.voidsetDescription(String Description) Set Description.voidsetEndTime(Timestamp EndTime) Set End Time.voidsetM_Product_Category_ID(int M_Product_Category_ID) Set Product Category.voidsetM_Product_ID(int M_Product_ID) Set Product.voidSet Name.voidsetOnFriday(boolean OnFriday) Set Friday.voidsetOnMonday(boolean OnMonday) Set Monday.voidsetOnSaturday(boolean OnSaturday) Set Saturday.voidsetOnSunday(boolean OnSunday) Set Sunday.voidsetOnThursday(boolean OnThursday) Set Thursday.voidsetOnTuesday(boolean OnTuesday) Set Tuesday.voidsetOnWednesday(boolean OnWednesday) Set Wednesday.voidsetPriorityNo(int PriorityNo) Set Relative Priority.voidsetStartTime(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, validForeignKeysExMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.brerp.base.model.I_COF_DeliveryRestriction
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActiveMethods 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_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:POString representation -
setCOF_DeliveryRestriction_ID
public void setCOF_DeliveryRestriction_ID(int COF_DeliveryRestriction_ID) Set Restrição de Entrega.- Specified by:
setCOF_DeliveryRestriction_IDin 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_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Primary Key : Delivery Restriction
-
setCOF_DeliveryRestriction_UU
Set COF_DeliveryRestriction_UU.- Specified by:
setCOF_DeliveryRestriction_UUin interfaceI_COF_DeliveryRestriction- Parameters:
COF_DeliveryRestriction_UU- COF_DeliveryRestriction_UU
-
getCOF_DeliveryRestriction_UU
Get COF_DeliveryRestriction_UU.- Specified by:
getCOF_DeliveryRestriction_UUin interfaceI_COF_DeliveryRestriction- Returns:
- COF_DeliveryRestriction_UU
-
getCOF_Equipments
- Specified by:
getCOF_Equipmentsin interfaceI_COF_DeliveryRestriction- Throws:
RuntimeException
-
setCOF_Equipments_ID
public void setCOF_Equipments_ID(int COF_Equipments_ID) Set Equipamentos.- Specified by:
setCOF_Equipments_IDin interfaceI_COF_DeliveryRestriction- Parameters:
COF_Equipments_ID- Primary Key : Equipments
-
getCOF_Equipments_ID
public int getCOF_Equipments_ID()Get Equipamentos.- Specified by:
getCOF_Equipments_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Primary Key : Equipments
-
getCOF_M_ShipRegion
- Specified by:
getCOF_M_ShipRegionin 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_IDin 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_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Primary Key : Shipment Region
-
getC_BPartner
- Specified by:
getC_BPartnerin interfaceI_COF_DeliveryRestriction- Throws:
RuntimeException
-
setC_BPartner_ID
public void setC_BPartner_ID(int C_BPartner_ID) Set Business Partner.- Specified by:
setC_BPartner_IDin 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_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Identifies a Business Partner
-
getC_BPartner_Location
- Specified by:
getC_BPartner_Locationin 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_IDin 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_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Identifies the (ship to) address for this Business Partner
-
setDescription
Set Description.- Specified by:
setDescriptionin interfaceI_COF_DeliveryRestriction- Parameters:
Description- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescriptionin interfaceI_COF_DeliveryRestriction- Returns:
- Optional short description of the record
-
setEndTime
Set End Time.- Specified by:
setEndTimein interfaceI_COF_DeliveryRestriction- Parameters:
EndTime- End of the time span
-
getEndTime
Get End Time.- Specified by:
getEndTimein interfaceI_COF_DeliveryRestriction- Returns:
- End of the time span
-
getM_Product_Category
- Specified by:
getM_Product_Categoryin 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_IDin 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_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Category of a Product
-
getM_Product
- Specified by:
getM_Productin interfaceI_COF_DeliveryRestriction- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_IDin interfaceI_COF_DeliveryRestriction- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_IDin interfaceI_COF_DeliveryRestriction- Returns:
- Product, Service, Item
-
setName
Set Name.- Specified by:
setNamein interfaceI_COF_DeliveryRestriction- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getNamein interfaceI_COF_DeliveryRestriction- Returns:
- Alphanumeric identifier of the entity
-
setOnFriday
public void setOnFriday(boolean OnFriday) Set Friday.- Specified by:
setOnFridayin interfaceI_COF_DeliveryRestriction- Parameters:
OnFriday- Available on Fridays
-
isOnFriday
public boolean isOnFriday()Get Friday.- Specified by:
isOnFridayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Fridays
-
setOnMonday
public void setOnMonday(boolean OnMonday) Set Monday.- Specified by:
setOnMondayin interfaceI_COF_DeliveryRestriction- Parameters:
OnMonday- Available on Mondays
-
isOnMonday
public boolean isOnMonday()Get Monday.- Specified by:
isOnMondayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Mondays
-
setOnSaturday
public void setOnSaturday(boolean OnSaturday) Set Saturday.- Specified by:
setOnSaturdayin interfaceI_COF_DeliveryRestriction- Parameters:
OnSaturday- Available on Saturday
-
isOnSaturday
public boolean isOnSaturday()Get Saturday.- Specified by:
isOnSaturdayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Saturday
-
setOnSunday
public void setOnSunday(boolean OnSunday) Set Sunday.- Specified by:
setOnSundayin interfaceI_COF_DeliveryRestriction- Parameters:
OnSunday- Available on Sundays
-
isOnSunday
public boolean isOnSunday()Get Sunday.- Specified by:
isOnSundayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Sundays
-
setOnThursday
public void setOnThursday(boolean OnThursday) Set Thursday.- Specified by:
setOnThursdayin interfaceI_COF_DeliveryRestriction- Parameters:
OnThursday- Available on Thursdays
-
isOnThursday
public boolean isOnThursday()Get Thursday.- Specified by:
isOnThursdayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Thursdays
-
setOnTuesday
public void setOnTuesday(boolean OnTuesday) Set Tuesday.- Specified by:
setOnTuesdayin interfaceI_COF_DeliveryRestriction- Parameters:
OnTuesday- Available on Tuesdays
-
isOnTuesday
public boolean isOnTuesday()Get Tuesday.- Specified by:
isOnTuesdayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Tuesdays
-
setOnWednesday
public void setOnWednesday(boolean OnWednesday) Set Wednesday.- Specified by:
setOnWednesdayin interfaceI_COF_DeliveryRestriction- Parameters:
OnWednesday- Available on Wednesdays
-
isOnWednesday
public boolean isOnWednesday()Get Wednesday.- Specified by:
isOnWednesdayin interfaceI_COF_DeliveryRestriction- Returns:
- Available on Wednesdays
-
setPriorityNo
public void setPriorityNo(int PriorityNo) Set Relative Priority.- Specified by:
setPriorityNoin interfaceI_COF_DeliveryRestriction- Parameters:
PriorityNo- Where inventory should be picked from first
-
getPriorityNo
public int getPriorityNo()Get Relative Priority.- Specified by:
getPriorityNoin interfaceI_COF_DeliveryRestriction- Returns:
- Where inventory should be picked from first
-
setStartTime
Set Start Time.- Specified by:
setStartTimein interfaceI_COF_DeliveryRestriction- Parameters:
StartTime- Time started
-
getStartTime
Get Start Time.- Specified by:
getStartTimein interfaceI_COF_DeliveryRestriction- Returns:
- Time started
-
setcof_CEP
Set CEP.- Specified by:
setcof_CEPin interfaceI_COF_DeliveryRestriction- Parameters:
cof_CEP- CEP
-
getcof_CEP
Get CEP.- Specified by:
getcof_CEPin interfaceI_COF_DeliveryRestriction- Returns:
- CEP
-
setcof_Observation
Set Observation.- Specified by:
setcof_Observationin interfaceI_COF_DeliveryRestriction- Parameters:
cof_Observation- Observation for Tax Determination
-
getcof_Observation
Get Observation.- Specified by:
getcof_Observationin interfaceI_COF_DeliveryRestriction- Returns:
- Observation for Tax Determination
-
setcof_RestrictionType
Set Restriction Type.- Specified by:
setcof_RestrictionTypein interfaceI_COF_DeliveryRestriction- Parameters:
cof_RestrictionType- Restriction Type
-
getcof_RestrictionType
Get Restriction Type.- Specified by:
getcof_RestrictionTypein interfaceI_COF_DeliveryRestriction- Returns:
- Restriction Type
-