FR 3110938 - Mandatory Incorrectly Spelled

http://sourceforge.net/support/tracker.php?aid=3110938
This commit is contained in:
Carlos Ruiz 2011-03-08 12:19:40 -05:00
parent d283c2402d
commit f81176b7dd
2 changed files with 9 additions and 9 deletions

View File

@ -86,7 +86,7 @@ public class MAttributeSet extends X_M_AttributeSet
setIsSerNo (false);
setIsSerNoMandatory (false);
setIsInstanceAttribute(false);
setMandatoryType (MANDATORYTYPE_NotMandatary);
setMandatoryType (MANDATORYTYPE_NotMandatory);
}
} // MAttributeSet
@ -185,7 +185,7 @@ public class MAttributeSet extends X_M_AttributeSet
*/
public boolean isMandatory()
{
return !MANDATORYTYPE_NotMandatary.equals(getMandatoryType())
return !MANDATORYTYPE_NotMandatory.equals(getMandatoryType())
|| isLotMandatory()
|| isSerNoMandatory()
|| isGuaranteeDateMandatory();

View File

@ -30,7 +30,7 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
/**
*
*/
private static final long serialVersionUID = 20100614L;
private static final long serialVersionUID = 20110308L;
/** Standard Constructor */
public X_M_AttributeSet (Properties ctx, int M_AttributeSet_ID, String trxName)
@ -320,8 +320,8 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
/** MandatoryType AD_Reference_ID=324 */
public static final int MANDATORYTYPE_AD_Reference_ID=324;
/** Not Mandatary = N */
public static final String MANDATORYTYPE_NotMandatary = "N";
/** Not Mandatory = N */
public static final String MANDATORYTYPE_NotMandatory = "N";
/** Always Mandatory = Y */
public static final String MANDATORYTYPE_AlwaysMandatory = "Y";
/** When Shipping = S */
@ -367,9 +367,9 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
return ii.intValue();
}
public I_M_LotCtl getM_LotCtl() throws RuntimeException
public org.compiere.model.I_M_LotCtl getM_LotCtl() throws RuntimeException
{
return (I_M_LotCtl)MTable.get(getCtx(), I_M_LotCtl.Table_Name)
return (org.compiere.model.I_M_LotCtl)MTable.get(getCtx(), org.compiere.model.I_M_LotCtl.Table_Name)
.getPO(getM_LotCtl_ID(), get_TrxName()); }
/** Set Lot Control.
@ -395,9 +395,9 @@ public class X_M_AttributeSet extends PO implements I_M_AttributeSet, I_Persiste
return ii.intValue();
}
public I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException
public org.compiere.model.I_M_SerNoCtl getM_SerNoCtl() throws RuntimeException
{
return (I_M_SerNoCtl)MTable.get(getCtx(), I_M_SerNoCtl.Table_Name)
return (org.compiere.model.I_M_SerNoCtl)MTable.get(getCtx(), org.compiere.model.I_M_SerNoCtl.Table_Name)
.getPO(getM_SerNoCtl_ID(), get_TrxName()); }
/** Set Serial No Control.