public void importFromChange(Change sourceChange){
  if (sourceChange.revision() > 0) {
    this.revisionId=new NumericLiteralImpl(sourceChange.revision());
  }
  if (sourceChange.timestamp() != null) {
    Date date=sourceChange.timestamp();
    Calendar c=Calendar.getInstance(TimeZone.getTimeZone("UTC"),Locale.ROOT);
    c.setTime(date);
    this.lastModified=new LiteralImpl(DatatypeConverter.printDate(c),XMLSchema.DATETIME);
  }
}

public void importFromChange ( Change sourceChange ) { if ( sourceChange . revision ( ) > 0 ) { this . revisionId = new NumericLiteralImpl ( sourceChange . revision ( ) ) ; } if ( sourceChange . timestamp ( ) != null ) { Date date = sourceChange . timestamp ( ) ; Calendar c = Calendar . getInstance ( TimeZone . getTimeZone ( "UTC" ) , Locale . ROOT ) ; c . setTime ( date ) ; this . lastModified = new LiteralImpl ( DatatypeConverter . printDate ( c ) , XMLSchema . DATETIME ) ; } }
import revision data from change object .
