Add Reference.resource to output of copy().
This commit is contained in:
parent
1813ed5260
commit
056e41d19d
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends Type implements IBaseReference, ICom
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends DataType implements IBaseReference,
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -93,4 +93,12 @@ public abstract class BaseReference extends DataType implements IBaseReference,
|
|||
return resource == null && super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copyValues(Element dst) {
|
||||
super.copyValues(dst);
|
||||
if (resource != null && dst instanceof BaseReference) {
|
||||
((BaseReference) dst).setResource(resource);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue