ZClass implements Serializable { public String getNamespace() { return namespace; } ZClass(IRI iri); Map<String, Set<String>> getListOfImports(); Set<String> getSetOfImportPackages(); List<String> getImportsDeclarations(); String getLabel(); void setLabel(String label); String getComments(); void setComments(String comments); boolean containsIRI(final List<ZObjectProperty> list, final IRI name); boolean getGenerate(); void setGenerate(boolean generate); String getPackageName(); IRI getIri(); String getNamespace(); String getzClassName(); void setListZInstanceIRI(List<ZInstance> listZInstanceIRI); List<String> getImportsDeclarationsFromObjectPropertiesInstances(); void setImportsDeclarationsFromObjectPropertiesInstances(
      List<String> importsDeclarationsFromObjectPropertiesInstances); void add_importsDeclarationsZInstance(String imports); void setSuperZClassList(List<ZClass> superZClassList); List<ZClass> getSuperZClassList(); Set<ZClass> getAggregateSuperZClasses(); List<ZObjectProperty> getZObjectPropertyList(); List<ZObjectProperty> getZObjectPropertyItem(IRI zObjectPropertyIRI); List<ZDataProperty> getZDataPropertyItem(String zDataPropertyIRI); List<ZDataProperty> getZDataPropertyList(); List<ZInstance> getListZInstanceIRI(); void add_listOfImports(IRI iriImports); void add_listOfImports(String packageName, String className); void add_importsDeclarations(String imports, IRI iri); void add_ObjectProperty(ZObjectProperty zObjectProperty); void add_DataProperty(ZDataProperty zDataProperty); void add_ParentClass(ZClass zClass); void add_ZInstanceClass(ZInstance zInstance); void print(); ZClass getParentToExtend(); List<ZClass> getListOfParentsToImplement(); boolean hasSubClass(); void setHasSubClass(); String getPath(); void setPath(String path); @Override int hashCode(); @Override boolean equals(Object obj); void setzObjectPropertyList(List<ZObjectProperty> zObjectPropertyList); void setzDataPropertyList(List<ZDataProperty> zDataPropertyList); void triageObjectProperties(List<ZObjectProperty> properties,
      Set<IRI> excludedClassesIris); List<ZObjectProperty> getListOfObjectPropertiesForInterface(); List<ZObjectProperty> getListOfObjectPropertiesForClass(); List<ZDataProperty> getListOfDataPropertiesForInterface(); List<ZDataProperty> getListOfDataPropertiesForClass();  }
@Test public void testzClassnamespace() throws NoSuchFieldException, IllegalAccessException { String iriStr = "http: IRI iri = IRI.create(iriStr); ZClass zclass = new ZClass(iri); assertEquals("Fields didn't match", zclass.getNamespace(), "http: }