From af722e2fd57585e6389ada04c7c0e26170ed36eb Mon Sep 17 00:00:00 2001 From: Elaine Tan Date: Thu, 1 Aug 2013 17:40:13 +0800 Subject: [PATCH] IDEMPIERE-1231 Add non-persistent attributes support to PO --- .../src/org/compiere/model/MRegistration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/MRegistration.java b/org.adempiere.base/src/org/compiere/model/MRegistration.java index b3dfe6e5d3..c71dea230c 100644 --- a/org.adempiere.base/src/org/compiere/model/MRegistration.java +++ b/org.adempiere.base/src/org/compiere/model/MRegistration.java @@ -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 @@ -91,7 +91,7 @@ public class MRegistration extends X_A_Registration * Get All Attributes * @return Registration Attributes */ - public MRegistrationAttribute[] getAttributes() + public MRegistrationAttribute[] getRegistrationAttributes() { if (m_allAttributes == null) m_allAttributes = MRegistrationAttribute.getAll(getCtx()); @@ -201,7 +201,7 @@ public class MRegistration extends X_A_Registration saveEx(); int count = 0; // read values for all attributes - MRegistrationAttribute[] attributes = getAttributes(); + MRegistrationAttribute[] attributes = getRegistrationAttributes(); for (int i = 0; i < attributes.length; i++) { MRegistrationAttribute attribute = attributes[i];