It's simpler than you think:
public class Link {
// put whatever a link needs in your application here
}
Note however that if all you want are references to other objects, you might not need a separate link class to encapsulate it. (Or, maybe you do; it depends.)
You might also want to look at the java.lang.ref package to see if it does anything you need. It may or may not.