protected static String sheetNameFromRelAssociatesDocument( IfcRelAssociatesDocument relAssociatesDocument) { String sheetName = ""; if ((relAssociatesDocument.getRelatedObjects() != null) && (relAssociatesDocument.getRelatedObjects().size() > 0)) { sheetName = sheetNameFromRoot(relAssociatesDocument.getRelatedObjects().get(0)); } return COBieUtility.getCOBieString(sheetName); }
protected static String extIdFromRelAssociatesDocument( IfcRelAssociatesDocument relAssociatesDocument) { String extId = ""; if ((relAssociatesDocument.getRelatedObjects() != null) && (relAssociatesDocument.getRelatedObjects().size() > 0)) { extId = COBieIfcUtility.extIdFromRoot(relAssociatesDocument.getRelatedObjects().get(0)); } return COBieUtility.getCOBieString(extId); }
protected static String extObjectFromRelAssociatesDocument( IfcRelAssociatesDocument relAssociatesDocument) { String extObject = ""; if ((relAssociatesDocument.getRelatedObjects() != null) && (relAssociatesDocument.getRelatedObjects().size() > 0)) { extObject = relAssociatesDocument.getRelatedObjects().get(0).getClass().getSimpleName(); } extObject = COBieUtility.trimImplFromClassNameString(extObject); return COBieUtility.getCOBieString(extObject); }