return getTarget().getSetRecords().contains(this);
}
@Override
public RecordDataObject getRecordDataObject() {
RecordDataObject rdo = new SetRecordDataObject();
rdo.putValue(RecordEntry.TARGET, getTarget().getRid());
rdo.putValue(RecordEntry.VERSION, getVersion());
rdo.putValue(RecordEntry.VISIBLE, getSetVisibilityTo());
rdo.putValue(RecordEntry.CHDATA, getChdata());
rdo.putValue(RecordEntry.PRIMARY_WEIGHT, getPrimaryWeight());
if (getParentToChange() != null)
rdo.putValue(RecordEntry.PARENT, getParentToChange().getRid());
return rdo;
}