code: @Override public void setID(Integer val)
     {
        ProjectFile parent = getParentFile();
        Integer previous = getID();
        if (previous != null)
        {
           parent.getResources().unmapID(previous);
        }
        parent.getResources().mapID(val, this);
  
        set(ResourceField.ID, val);
     }
docs: Sets ID field value.
  
  @param val value