public ContactType getContactType(Person recPerson)
    {
        if (m_recContactType == null)
        {
            m_recContactType = (ContactType)Record.makeRecordFromClassName(ContactTypeModel.CONTACT_TYPE_FILE, this.getOwner().getRecord().findRecordOwner());
            if (((Record)m_recContactType).getRecordOwner() != null)
                ((Record)m_recContactType).getRecordOwner().removeRecord((Record)m_recContactType);
        }
        return m_recContactType.getContactType(recPerson);
    }
public ContactType getContactType ( Person recPerson ) { if ( m_recContactType == null ) { m_recContactType = ( ContactType ) Record . makeRecordFromClassName ( ContactTypeModel . CONTACT_TYPE_FILE , this . getOwner ( ) . getRecord ( ) . findRecordOwner ( ) ) ; if ( ( ( Record ) m_recContactType ) . getRecordOwner ( ) != null ) ( ( Record ) m_recContactType ) . getRecordOwner ( ) . removeRecord ( ( Record ) m_recContactType ) ; } return m_recContactType . getContactType ( recPerson ) ; }
GetContactType Method.