ZObjectProperty implements Cloneable, Serializable { public String getObjectPropertyShortForm() { return objectProperty.getShortForm(); } ZObjectProperty(IRI objectProperty); @Override Object clone(); @Override int hashCode(); @Override boolean equals(Object other); IRI getObjectProperty(); String getLabel(); void setLabel(String label); String getComments(); void setComments(String comments); String getObjectPropertyShortFormCS(); String getObjectPropertyShortForm(); String getObjectPropertyNamespace(); void setObjectProperty(IRI objectProperty); String getObjectPropertyType(); String getInstancesClass(); void setObjectPropertyType(String objectPropertyType); String getObjectPropertyCardinality(); Set<ZInstance> getRangeListZInstances(); void setRangeListZInstances(Set<ZInstance> rangeListZInstances); void setObjectPropertyCardinality(String objectPropertyCardinality); void add_RangeZClass(ZPair<ZClass, boolean[]> zClass); Set<ZPair<ZClass, boolean[]>> getRangeListZClasses(); void setRangeListZClasses(Set<ZPair<ZClass, boolean[]>> rangeListZClasses); void add_RangeZInstance(ZInstance zInstance); void addAll_RangeZInstance(Set<ZInstance> zInstance); void addAll_RangeZClass(Collection<? extends ZPair<ZClass, boolean[]>> zclasses); void print(); void setOverridable(); boolean isOverridable(); boolean isGeneratable(); void setGenerate(boolean generate); Set<IRI> getInverseZObjectProperties(); void setInverseZObjectProperties(Set<IRI> inverseZObjectProperties); boolean addInverseZObjectProperty(IRI inverseZObjectProperty); void addAllInverseZObjectProperties(Set<IRI> inverseZObjectProperties); boolean isHidingParentProperty(); void setHidingParentProperty();  }
@Test public void testzClassName() throws NoSuchFieldException, IllegalAccessException { String iriStr = "http: IRI iri = IRI.create(iriStr); ZObjectProperty zojectProperty = new ZObjectProperty(iri); assertEquals("Fields didn't match", zojectProperty.getObjectPropertyShortForm(), "hasFloor"); }