code: protected void createRealmDataObject(Root inputRootObject, String inputRealm) {
          // use the root DataGraph to create a Context DataGraph
          List<Context> contexts = inputRootObject.getContexts();
          if (contexts != null) {
              Context ctx = new Context();
              // set "WIM.Realm" in the Context DataGraph to the realm
              ctx.setKey(Service.VALUE_CONTEXT_REALM_KEY);
              ctx.setValue(inputRealm);
              contexts.add(ctx);
          }
  
      }
docs: Create a DataObject for the realm context.
  
  @param inputRootDataObject The root DataObject.
  @param inputRealm The realm.
  
  @pre inputRootDataObject != null
  @pre inputRealm != null
  @pre inputRealm != ""