public void addReference(MessagePart reference){
  references.add(reference);
}

public void addReference ( MessagePart reference ) { references . add ( reference ) ; }
adds a reference to the manifest
