return vobject.vorbaId;
}
}
+ /**
+ * protected VorbaId constructor used when turning XML ID strings into vorba IDs
+ * @param id
+ * @return VorbaId object or null if string was null.
+ */
protected static VorbaId newId(String id) {
- return new VorbaId(id);
+ return (id==null) ? null : new VorbaId(id);
}
/**
* @return Returns the id.