/** * Copy constructor. * * @param parentRid Source object */ public ORecordId(final ORID parentRid) { clusterId = parentRid.getClusterId(); clusterPosition = parentRid.getClusterPosition(); }
public void copyFrom(final ORID iSource) { if (iSource == null) throw new IllegalArgumentException("Source is null"); clusterId = iSource.getClusterId(); clusterPosition = iSource.getClusterPosition(); }