@Override
  public boolean equals(Object object) {
    if (object == null) {
      return false;
    }
    if (!IdOnlyContainerResource.class.isAssignableFrom(object.getClass())) {
      return false;
    }
    IdOnlyContainerResource idResource= (IdOnlyContainerResource) object;
    return this.id.equals(idResource.getId());
  }
Ctor.

@param id the container id.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/IdOnlyContainerResource.java