/** * Build a secondaryRref out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the secondaryRef. * @param xref The Xref out of which we extract the data to build the secondaryXref. * * @return the newly created secondaryId. */ public Element createSecondaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, SECONDARY_REF ); } }
/** * Build a primaryRef out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the primaryRef * @param xref * * @return */ public Element createPrimaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, PRIMARY_REF ); }
/** * Build a primaryRef out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the primaryRef * @param xref * * @return */ public Element createPrimaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, PRIMARY_REF ); }
/** * Build a primaryRef out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the primaryRef * @param xref * * @return */ public Element createPrimaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, PRIMARY_REF ); }
/** * Build a secondaryRref out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the secondaryRef. * @param xref The Xref out of which we extract the data to build the secondaryXref. * * @return the newly created secondaryId. */ public Element createSecondaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, SECONDARY_REF ); } }
/** * Build a secondaryRref out of an IntAct Xref. * <p/> * <pre> * <b>Rules</b>: * Xref.id ---> id * Xref.secondaryId ---> secondary * Xref.CvDatabase.shortlabel ---> db * Xref.dbRelease ---> version * </pre> * * @param session * @param parent the parent Element to which we will attach the secondaryRef. * @param xref The Xref out of which we extract the data to build the secondaryXref. * * @return the newly created secondaryId. */ public Element createSecondaryRef( UserSessionDownload session, Element parent, Xref xref ) { return createRef( session, parent, xref, SECONDARY_REF ); } }