{
public ResourceValue apply(V1ResourceValue from)
{
if (from != null)
{
ResourceValue result = WSRPTypeFactory.createResourceValue(from.getLang(), from.getValue());
List<Extension> extensions = WSRPUtils.transform(from.getExtensions(), EXTENSION);
if (extensions != null)
{
result.getExtensions().addAll(extensions);
}
return result;
}
else