/** Test of SavePersonData method, of class MetadataRDFConverter. */
  @Test
  public void testSavePersonData() {
    System.out.println("* MetadataRDFConverterTest: SavePersonData");
    try {
      foaf_Person oPersonNull = null;
      OntModel oModel = MetadataGlobal.LoadOWL(MetadataConstants.sLocationLoadAlert);
      MetadataRDFConverter.SavePersonData(oPersonNull, oModel);
      MetadataGlobal.SaveOWL(oModel, MetadataConstants.sLocationSaveAlert);

      foaf_Person oPerson = new foaf_Person();
      oPerson.m_sFirstName = "Ivan";
      oPerson.m_sLastName = "Obradovic";
      // oPerson.m_sGender = ""; //???
      oPerson.m_sID = "*****@*****.**";
      oPerson.m_sEmail = "*****@*****.**"; // ???
      MetadataRDFConverter.SavePersonData(oPerson, oModel);
      MetadataGlobal.SaveOWL(oModel, MetadataConstants.sLocationSaveAlert);
      assertNotNull(oPerson);
      assertEquals(oPerson.m_sObjectURI.isEmpty(), false);

      //// TO-DO review the generated test code and remove the default call to fail.
      // fail("The test case is a prototype.");
    } catch (Exception ex) {
      System.out.println("Error: " + ex.getMessage());
    }
  }
 /**
  * @summary Method for creating new annotation.
  * @startRealisation Dejan Milosavljevic 16.01.2012.
  * @finalModification Dejan Milosavljevic 16.01.2012.
  * @return Bug object
  */
 public static AnnotationData CreateNewAnnotation() {
   try {
     AnnotationData oAnnotation = new AnnotationData();
     return oAnnotation;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new person
  * @startRealisation Sasa Stojanovic 24.06.2011.
  * @finalModification Sasa Stojanovic 24.06.2011.
  * @return foaf_Person object
  */
 public static foaf_Person CreateNewPerson() {
   try {
     foaf_Person oPerson = new foaf_Person();
     return oPerson;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new component
  * @startRealisation Sasa Stojanovic 31.10.2011.
  * @finalModification Sasa Stojanovic 31.10.2011.
  * @return MetadataPerson object
  */
 public static Component CreateNewComponent() {
   try {
     Component oComponent = new Component();
     return oComponent;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new mail
  * @startRealisation Sasa Stojanovic 02.02.2012.
  * @finalModification Sasa Stojanovic 02.02.2012.
  * @return Mail object
  */
 public static Mail CreateNewMail() {
   try {
     Mail oMail = new Mail();
     return oMail;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new bug
  * @startRealisation Sasa Stojanovic 24.06.2011.
  * @finalModification Sasa Stojanovic 24.06.2011.
  * @return Bug object
  */
 public static Issue CreateNewIssue() {
   try {
     Issue oIssue = new Issue();
     return oIssue;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new identity
  * @startRealisation Sasa Stojanovic 04.02.2012.
  * @finalModification Sasa Stojanovic 04.02.2012.
  * @return Bug object
  */
 public static Identity CreateNewIdentity() {
   try {
     Identity oIdentity = new Identity();
     return oIdentity;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new competence.
  * @startRealisation Dejan Milosavljevic 02.02.2012.
  * @finalModification Dejan Milosavljevic 02.02.2012.
  * @return Bug object
  */
 public static Competence CreateNewCompetence() {
   try {
     Competence oCompetence = new Competence();
     return oCompetence;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }
 /**
  * @summary Method for creating new forum post.
  * @startRealisation Dejan Milosavljevic 17.01.2012.
  * @finalModification Sasa Stojanovic 21.02.2012
  * @return Bug object
  */
 public static ForumPost CreateNewForumPost() {
   try {
     ForumPost oForumPost = new ForumPost();
     return oForumPost;
   } catch (Exception e) {
     e.printStackTrace();
     return null;
   }
 }