Skip to content
peacekeeper edited this page Sep 25, 2014 · 12 revisions

Introduction

This branch renames several classes, methods, and constants to remove legacy "XRI" and "XDI3" terminology from the code.

Status

Merged per 7a1194b on 24th Aug 2014 after snapshot-0.7-pre-no-xri.

Sample deployment: None

Code Migration

In typical XDI2-based code, significant renaming operations are likely required, but there should not be any real functional change.

The following is a list of code migration steps:

Renamed classes:

XDI3Segment -> XDIAddress
XDI3SubSegment -> XDIArc
XDI3Statement -> XDIStatement
.. others ..

Renamed methods:

Message.setLinkContractXri() -> Message.setLinkContractXDIAddress() 
.. others ..

Renamed constants:

XRI_S_* -> XDI_ADD_*
XRI_SS_* -> XDI_ARC_*
.. others ..

Renamed annotations:

contributorXris -> contributorAddresses

Graph Migration

No graph migration is required.

Clone this wiki locally