+ * Returns a collection of fields as a node reference.
+ *
+ * @return The node reference contained within this message
+ */
+ public NodeRef getNodeRef() {
+ NodeRef nodeRef = new NodeRef();
+ nodeRef.setARK(getARK());
+ nodeRef.setDSAGroup(getDSAGroup());
+ nodeRef.setDSAPublicKey(getDSAPublicKey());
+ nodeRef.setIdentity(getIdentity());
+ nodeRef.setLastGoodVersion(getLastGoodVersion());
+ nodeRef.setLocation(getLocation());
+ nodeRef.setName(getMyName());
+ nodeRef.setNegotiationTypes(getNegotiationTypes());
+ nodeRef.setOpennet(isOpennet());
+ nodeRef.setPhysicalUDP(getPhysicalUDP());
+ nodeRef.setVersion(getVersion());
+ return nodeRef;
+ }
+
+ /**