/** {@inheritDoc} */
  @Override
  public BinaryObject buildEnum(String typeName, int ord) throws IgniteException {
    typeName = PortableContext.typeName(typeName);

    int typeId = portableCtx.typeId(typeName);

    updateMetadata(typeId, typeName, null, null, true);

    return new BinaryEnumObjectImpl(portableCtx, typeId, null, ord);
  }