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

Introduction

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

Code Migration

In typical code based on XDI2, significant renaming operations are likely required, however real functional change should be minimal.

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