if (extensions != null) this.extensions = extensions;
}
public javax.ws.rs.core.Link toJaxrsLink()
{
javax.ws.rs.core.Link.Builder builder = new LinkBuilderImpl();
builder.rel(getRelationship());
builder.title(getTitle());
builder.type(getType());
builder.uri(getHref());
for (Map.Entry<String, List<String>> entry : getExtensions().entrySet())
{
for (String val : entry.getValue())
{
builder.param(entry.getKey(), val);
}
}
return builder.build();
}