IDEMPIERE-1231 Add non-persistent attributes support to PO
This commit is contained in:
parent
bc81a931df
commit
af722e2fd5
|
@ -40,7 +40,7 @@ public class MRegistration extends X_A_Registration
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -5178339895228217372L;
|
private static final long serialVersionUID = -2301393326847864746L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard Constructor
|
* Standard Constructor
|
||||||
|
@ -91,7 +91,7 @@ public class MRegistration extends X_A_Registration
|
||||||
* Get All Attributes
|
* Get All Attributes
|
||||||
* @return Registration Attributes
|
* @return Registration Attributes
|
||||||
*/
|
*/
|
||||||
public MRegistrationAttribute[] getAttributes()
|
public MRegistrationAttribute[] getRegistrationAttributes()
|
||||||
{
|
{
|
||||||
if (m_allAttributes == null)
|
if (m_allAttributes == null)
|
||||||
m_allAttributes = MRegistrationAttribute.getAll(getCtx());
|
m_allAttributes = MRegistrationAttribute.getAll(getCtx());
|
||||||
|
@ -201,7 +201,7 @@ public class MRegistration extends X_A_Registration
|
||||||
saveEx();
|
saveEx();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
// read values for all attributes
|
// read values for all attributes
|
||||||
MRegistrationAttribute[] attributes = getAttributes();
|
MRegistrationAttribute[] attributes = getRegistrationAttributes();
|
||||||
for (int i = 0; i < attributes.length; i++)
|
for (int i = 0; i < attributes.length; i++)
|
||||||
{
|
{
|
||||||
MRegistrationAttribute attribute = attributes[i];
|
MRegistrationAttribute attribute = attributes[i];
|
||||||
|
|
Loading…
Reference in New Issue