InfoItemReference { public long getClassPK() { if (_infoItemIdentifier instanceof ClassPKInfoItemIdentifier) { ClassPKInfoItemIdentifier classPKInfoItemIdentifier = (ClassPKInfoItemIdentifier)_infoItemIdentifier; return classPKInfoItemIdentifier.getClassPK(); } return 0; } InfoItemReference(
		String className, InfoItemIdentifier infoItemIdentifier);  InfoItemReference(String className, long classPK); @Override boolean equals(Object object); String getClassName(); long getClassPK(); InfoItemIdentifier getInfoItemIdentifier(); @Override int hashCode(); @Override String toString();  }
@Test public void testGetClassPK() { InfoItemReference infoItemReference = new InfoItemReference( "className", 12354L); Assert.assertEquals(12354L, infoItemReference.getClassPK()); }