code: public static CMISObjectWrapper wrap(final GraphObject source, final String propertyFilter, final Boolean includeAllowableActions) throws FrameworkException {
  
  		CMISObjectWrapper wrapper = null;
  		if (source != null) {
  
  			final CMISInfo cmisInfo = source.getCMISInfo();
  			if (cmisInfo != null) {
  
  				final BaseTypeId baseTypeId = cmisInfo.getBaseTypeId();
  				if (baseTypeId != null) {
  
  					switch (baseTypeId) {
  
  						case CMIS_DOCUMENT:
  							wrapper = new CMISDocumentWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getDocumentInfo());
  							break;
  
  						case CMIS_FOLDER:
  							wrapper = new CMISFolderWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getFolderInfo());
  							break;
  
  						case CMIS_ITEM:
  							wrapper = new CMISItemWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getItemInfo());
  							break;
  
  						case CMIS_POLICY:
  							wrapper = new CMISPolicyWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getPolicyInfo());
  							break;
  
  						case CMIS_RELATIONSHIP:
  							wrapper = new CMISRelationshipWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getRelationshipInfo());
  							break;
  
  						case CMIS_SECONDARY:
  							wrapper = new CMISSecondaryWrapper(propertyFilter, includeAllowableActions);
  							wrapper.initializeFrom(cmisInfo.getSecondaryInfo());
  							break;
  					}
  				}
  			}
  		}
  
  		return wrapper;
  	}
docs: ----- public static methods -----