Esempio n. 1
0
 public ToBeModel getResolutionID()
 {
     if ((!this.isPersisting()) && (m_ResolutionID != null) && (m_ResolutionID.isLoaded()))
     {
         m_ResolutionID = (ToBeModel)getPersistenceManager().find(m_ResolutionID.getClassName(), m_ResolutionID.getId());
     }
     else if ((!this.isPersisting()) && (m_ResolutionID != null))
     {
         m_ResolutionID = (ToBeModel)ApplyScopeChangesToEntity(m_ResolutionID);
     }
     return(m_ResolutionID);
 }
Esempio n. 2
0
 public ToBeModel getToBeModel()
 {
     if ((!this.isPersisting()) && (m_ToBeModel != null) && (m_ToBeModel.isLoaded()))
     {
         m_ToBeModel = (ToBeModel)getPersistenceManager().find(m_ToBeModel.getClassName(), m_ToBeModel.getId());
     }
     else if ((!this.isPersisting()) && (m_ToBeModel != null))
     {
         m_ToBeModel = (ToBeModel)ApplyScopeChangesToEntity(m_ToBeModel);
     }
     return(m_ToBeModel);
 }